For Frederick ------
Syntax highlighting was good up to 1.01.
Has clip library with all commands thru 1.01, alphabetical or in groups as defined in Sesame documentation. Library clips include syntax with user defined friendly terms, quotes where needed, etc. Double click to insert at cursor.
Examples:
@MOD(dividend,divisor)
vs.
@MOD(x,y)
And
@REPLLAS(SourceString,"LookFor","ReplaceWith")
vs.
@REPLLAS(m,x,y)
Can create your own code library
User defined code can be added to library for double-click insertion...
Example:
//Divide by Zero error
IF DivisorField = 0 Then {
@MsgBox("DivisorField cannot be 0.","","")
ThrowFocus(DivisorField)
}
And
//May be inserted on FormEntry and edited for specific elements on this form
//Prevents Auto Creation of New Record in Search/Update Mode
IF @ISNEW THEN {
IF @UPDATE THEN {
// Retreat to the last existing record
RESULTSETCURRENTPOSITION(@RESULTSETTOTAL() - 1)
}
}
//Does Auto Fill of History Tracking Elements and Makes Next Record Number
IF @ISBLANK(Record) THEN {
IF @ISBLANK(AddedBy) THEN { Addedby = @USERID }
IF @ISBLANK(AddedBy) THEN { AddedBy = "Not Logged In" }
If @ISBLANK(AddedDate) THEN { AddedDate = @DATE }
If @ISBLANK(AddedTime) THEN { AddedTime = @TIME }
Record = @TN(@XLOOKUPR(@FN,999999,"frmName!Record","Record")) + 1
}
//Makes Some Elements Read Only During Initial Data Entry
IF @ISNEW THEN { READONLY(CertainElements,2) }
//Makes Some Elements Invisible Only During Initial Data Entry
IF @ISNEW THEN { Visibility(CertainElements,0) }
//Prevents Key Element(s) from being Changed by Accident.
IF NOT @ISNEW THEN { READONLY(KeyElement,2) }
Has Regular Expressions for Search/Replace.
Can Search/Replace in all modules at once, in all forms at once.
Can create and save macros. But like Sesame, macros cannot be edited.
Line numbers can be turned on/off on screen and printing.
Lines can be bookmarked, and reversed.
Editor has up to 4 screens synched scrolling.
Does word wrap on/off
Does block select
Handles data import/export files also.
================================
For Infinity:
Sample was provided for sample of syntax highlighting, not for code sample. Section was taken randomly to show many different highlight features.
Are quotes better in position two, the "key" code? I am not sure. The Sesame Programming Guidel shows no quotes on page 39. The sample shown was looking for a number in a number field. Is yours looking for a number in a text field?