[JW Lua] Read FileInfoText + Display the value of variable

Bart Visser bartvisser at me.com
Wed Nov 13 08:40:38 CET 2013


Hi Jari and Charles,

Thanks for your help! I’m now able to use the value of the File Info Texts.

This is getting more fun every day.

Cheers,


Bart

Op 12 nov. 2013, om 23:00 heeft Jari Williamsson <jari.williamsson at mailbox.swipnet.se> het volgende geschreven:

> On 2013-11-12 21:28, Charles O. Lawrence wrote:
> 
>> You say the "^title()" Enigma command would never exist in File Info text.
>> This is confusing since the File Info includes a title among all the others.
> 
> The "^title()" command in a raw string is REPLACED with the File Info title field, when it's displayed on screen. The File Info text is just contents.
> 
>> When and where would a ^title() Enigma command ever exist.
> 
> When parsing a raw string, such as a string returned from FCPageText:CreateTextString().
> 
>> When would you use the various IsEnigmaFileInfo tests?
> 
> When breaking down the raw string into subcomponents/substrings to find a specific text insert command.
> 
> FCString:IsEnigmaFileInfoTitle() is equivalent to FCString:StartsWith("^title()")
> 
> The documentation isn't long for the IsEnigmaFileInfo methods, but I think it's clear enough?
> 
> 
> Best regards,
> 
> Jari Williamsson
> 
> 
> 
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu





More information about the JWLua mailing list