Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== QTIPS - NoRead===== ^Published By^Date^Version^Knowledge Level^Keywords^ |Sprezzatura Ltd|01 JAN 1991|2.021+|EXPERT|NOREAD, @PSEUDO, FIELDSTORE, CATALYST| A reader queried how a template could be modified before display without modifying the file copy of the template. If @PSEUDO is loaded with the template record, and WINDOW is called with the literal NOREAD in the command line, the template will be read from @PSEUDO rather than file. The value of @PSEUDO could then be changed using FIELDSTORE before CATALYST was called, for example to change a title before display - @PSEUDO = XLATE("TEMPLATES","TYPES","","X") @PSEUDO = FIELDSTORE(@PSEUDO,CHAR(247),6,1,"Test") CALL CATALYST("W","TYPES NOREAD") Note - when using NOREAD a template name MUST still be given (this can be anything as it seems only to be used to keep position within @SENTENCE). Further the sixth "field" (delimited using CHAR(247)s, ie the title) MUST contain something otherwise the system will display an error message and return. (Volume 2, Issue 8, Pages 4,5) tips/revmedia/v2i8a4.txt Last modified: 2024/06/19 20:20by 127.0.0.1