Re: SetFormat and StripFormat (maybe SIZEOF)


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on July 25, 2017 at 08:57:14:

In Reply to: SetFormat and StripFormat (maybe SIZEOF) posted by Bob A on July 25, 2017 at 06:35:44:

Bob:

StripFormat is a valid IB statement. There's also StripRFormat and StripLFormat.

A SizeOf function could be interesting. You want to know the declared length of a variable? Currently you could do this with the PAD function then take the LEN. If you want to calculate the position of a particular variable in a record, currently you could do this by reading a record then summing up the LEN of each variable that precedes it. The READ would have padded each variable out to its declared length.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]