Futurebasic/Language/Reference/usr stroffset

Syntax edit

USR STROFFSET

Revised edit

September 17, 2000 (Release 4)

Description edit

Returns the offset position (in bytes) to the beginning of a string element specified by element% in a STR# resource with an ID of resID% or from a handle that matches the STR# resource style. Example: dim t$,offset&,h& h& = fn getresource(_"STR#",-20481) long if h&

 offset& = usr stroffset(65,-20481)
 print PSTR$([h&]+offset&)

end if output: Could not locate the AppleGuide help file. To access the help file, you need to have it installed in the Extensions folder inside your System Folder.

See Also edit

STR#, STRINGLIST