Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: How To (Forms, Reports, and more) > R:BASE Editor > R:Style

Version History

Scroll Prev Top Next More

R:Style 11: 10/20/2018

· Additional Syntax Checking

 

R:Style X.5 (version 10.5): 10/20/2018

· Additional Syntax Checking

 

R:Style X (version 10): 05-05-2015

· Additional Syntax Checking

 

R:Style (version 9.5): 05-15-2012

· Additional Syntax Checking

 

R:Style (version 9.1): 02-14-2011

· Additional Syntax Checking

 

R:Style (version 9.0): 07-31-2008

· Additional Syntax Checking for R:BASE eXtreme

 

R:Style (version 8.0): 12-05-2005

· Additional Syntax Checking for Turbo V-8

 

R:Style (version 7.5): 06-10-2005

· Enhanced display screen for R:Style results

· Integration of RStyle* .PRE, .EXP, .CAS, .VAR, .NEW keyword formatting files into a built-in  control panel.

· Added compatibility for comments using left and right brace characters. {}

· Failsafe R:Style configuration file lookup

· Improved syntax checking for the SELECT command

· Additional Syntax Checking for R:BASE 7.x and Turbo V-8

· NO file size limitation

· Additional setting options for error checking

 

R:Style (version 7.0): 07-02-2003

· Additional Syntax Checking

 

R:Style (version 6.5++): 07-03-2003

· Additional Syntax Checking

· Updated to include all new commands and keywords in R:BASE 7.0

 

R:Style 2000 (version 6.5++): 06-15-2001

· Additional Syntax Checking

· Updated to include all new commands and keywords in R:BASE 6.5++

 

R:Style 2000 (version 6.5): 12-06-1999

· Acquired by R:BASE Technologies, Inc. from Dennis McGrath, an R:BASE Developer

· Sold FREE of charge to all registered users of R:BASE 2000 (version 6.5)

· Added additional syntax checking

 

6.50E: 11-30-1999

· Fixed line counting problems with multi-command lines

 

6.50D: 11-24-1999

· Killed bug where invalid or ambiguous command would wind up in RSTYLE.NEW.

 

6.50C: 11-18-1999

· Now tests for ALL or VAR after CLEAR command.

· Correctly expands SOR to SORTED in old code.

 

6.50B: 11-12-99

· Treat IDQUOTES like quotes.

 

6.50A: 11-1-1999

· Fix minor bug in SHOW VAR AT ....

 

6.50: 10/25/99

· Added all new keyword for R:BASE 6.5.

 

6.30D: 09-12-1999

· Block names are no longer cased.

 

6.30C: 07-3-1999

· Avoid changing SET VERIFY ROW to SET VERIFY ROWS

 

6.30B: 05-06-1999

· Better detection, handling and reporting of inconsistent quotes.

· Enhanced processing of VAR and CAS files to eliminate duplicates in those files.

· Fix bug when DEBUG command used.

 

6.28U: 04-16-1999

· Fix bug in multi-command line split.

 

6.28T

· Added option to split multi-command lines.

 

6.28S

· With Command word checking on, commands starting with varname= will case the variable correctly

 

6.28R

· More on casing of Ampersand variable used as a command.

 

6.28Q

· Fixed casing of Ampersand variable used as a command.

 

6.28P

· Added option to do LE,LT,GT,GE,EQ,NE conversions to symbols.

 

6.28O

· Improved operation of RSTYLE.EXP file to allow substitutions like LE becomes <=.

 

6.28N

· Avoids expanding command DIS to DISTINCT and other similar scenarios.

 

6.28M

· Added --NOINDENT and --DOINDENT pseudo-ops to turn R:Style indenting off and on within a code file.

 

6.28L

· When unwrapping is on, now can fix bogus blank lines inserted by RBEDIT.

 

6.28J,K

· More fine tuning. Processing message again appears in R:Code window, but without lockups.

 

6.28I

· Now checks for = after variable without SET VAR to avoid spurious warnings about erroneous commands.

 

6.28h

· Strip off EOF which is no longer needed and looks yuk in windows.

 

6.28f, g

· Minor tweaks to enhance interface with R:Code

 

6.28e

· Fixes bug that caused erroneous error messages when lines are wrapped.

 

6.28d

· Avoids unwrapping long continued strings into one long line.

 

6.28c

· The keyword LINES was not uppercasing.

 

6.28b

· Fixed bug which would expand TAB to TABLE in GATEWAY command.

 

6.28A

· Added test for missing parenthesis around SWITCH variable.

 

6.26/27/28

· /Z switch added to show full call to R:Style.

· /Eerrfile switch lets you specifiy the error file name.

· Various other enhancements to interface with R:CODE Editor.

 

6.25

· Backup files now retain the original timestamp of the processed file.

 

6.24

· Fixed bug which caused 1 word to be lost when RSTYLE.NEW was appended to RSTYLE.CAS

 

6.23

· Fixed erroneous error message in response to the very short version of the CHDRV command a la "C:"

 

6.22

· Fixed bug which caused erroneous error message for ampersand variable used as a command. Also improved TEST function in the configuration screen so the user can define the code to test and the editor to view the results.

 

6.21

· Fixed bug which incorrectly processed DEBUG command lines when new 6.2 options where used.

 

6.2

· Warns when line terminated with = which is easily typed instead of +.

· Handles ` IDQUOTE correctly.

· Option warns when first word of a command is not a command word.

· Option warns when first word of a command is an ambiguous abbreviation.

· Option to check for invalid or ambiguous SET commands.

· Option to preserve or update file timestamp.

· Improved operation of SEMI ON processing.

 

6.14c

· Added feature. --- (triple dash) comments will be flush left.

· Also further repair of PRESERVE RELATION TO PREVIOUS LINE.

 

6.14

· Fix of bug which caused incorrect processing when indenting is set to PRESERVE RELATION TO PREVIOUS LINE

 

6.13

· Now recognizes RETURN xxx. If last command in file is not a RETURN

· R:Style will still add one, but if last command is RETURN xxx then R:Style will avoid adding an extra RETURN.

 

6.12

· Now strips out bogus carriage returns inserted in the middle of multi-line commands by some versions of RBEDIT.

 

6.11

· Added R:BASE 6.1 keywords missed in 6.10

 

6.10

· Added new keywords for R:BASE 6.1

 

6.01

· Fixed minor bug with wrapping action after SET VAR.

· Fixed minor bug causing erroneous dash comment message.

 

6.00

· More new keywords from 6.0 DOS release.

· In version 5.11 an enhancement was made to preserve file dates when processing with R:Style. This caused a problem with RMAKE because it could not know to re-codelock an APP in this scenario. Because of this, R:Style looks to see if there is a matching APX, and if so it will allow the filedate to be changed on the APP.

· Added test for WHERE WHERE which in many versions of R:BASE does not throw an error but is hard to find with the eye and does not evaluate as expected.

 

5.68

· Added all new R:BASE keywords through 11-10-1996.

· Abbreviation of keywords no longer available. Has become too dangerous due to great increase in keywords.

· Expansion to full keywords is still available.

 

5.67

· Added all new R:BASE keywords through 10-04-1996.

 

5.66

· Improved end-of-line white space stripper implemented. See 5.64.

 

5.65

· Fixed bug which sometimes caused erroneous illegal dot messages when BETWEEN is the first comparison in an IF statement.

· Minor adjustment to indenting processor.

 

5.64

· Now cleans trailing spaces from code lines to avoid tripping codelock.

 

5.63

· Refined READ-ONLY mode to give the utmost in error detection.

 

5.62

· Added test for dash comments extending beyond column 79.

· These comments can break the application when codelocked

· This test only works when wrapping is turned off.

 

5.61

· Further enhancements to illegal dotted variable checking.

 

5.60

· Added checking for illegal dotted variables.

 

5.51

· Added some keywords I missed.

 

5.50

· New keywords for 5.5 included.

 

5.31

· "V" no longer expands to "VAR" to prevent changing the statement "CLEAR VAR V*" to "CLEAR VAR VAR*"

 

5.30

· Better handling of wrapping lines containing long quoted text.

· Minor improvements to wrapping.

· Indents can now be 1 character, previous lower limit was 2.

· Indent settings cycle in reverse with the shift key depressed.

· Continued line indenting is no longer forced to be at least the same as indenting.

· *** Check your configuration settings having to do with indenting to make sure they are valid.

 

5.21

· Words added to RSTYLE.PRE will now be cased as they are in the file. This is the only alteration made to these words.

 

5.20

· Added the variables %1 through %9 to the list of recognized words to prevent their unnecessary showing up in the RSTYLE.NEW file.

· Added all the R:BASE representations for extended characters to the list of words that R:Style knows so they don't have to be quoted to prevent their showing up in RSTYLE.NEW.

 

5.13

· Found out that 5.12 was not outputting new names to RSTYLE.NEW. Must have happened with the changes to 5.03.

 

5.12

· It was notified that R:Style shortens COUNT to COU and that SELECT COU() causes a syntax error so COU and COUNT are now considered separate keywords and neither will be changed. Also, no abbreviation of WHILEOPT, CAPTION and FONT are allowed. The shortest form of EXPLODE is EXPL and STATICDB is STAT. These are all fixed in this version.

 

5.11

· Now preserves file date and time of each file processed.

 

5.10

· Now compliant with R:BASE 5.1.

 

5.03

· At one time I thought it would be cool if words added to RSTYLE.NEW became part of the pool of casing examples. Turns out that this can confuse things so now RSTYLE.NEW just there for reference. New words are added as they occur. You can still move the words to RSTYLE.CAS and RSTYLE.VAR to add them to the casing lists.

· Fixed bug causing RETUR instead of RETURN to be appended to files.

 

5.02a

· Minor adjustment to wrapping logic so SET VAR followed by long string in parenthesis is handled a little smoother.

 

5.02

· Fixed bug which occasionally resulted in code which would not run due to breaking between < and >

 

5.01

· Fixed bug which sometimes caused RETURN to be written in the middle of a command block when there was no RETURN at the end of the block.

 

5.0

· Now compliant with R:BASE 5.0.

 

4.22

· ENDSW is the official short form of ENDSWITCH but ENDS works in some versions of R:BASE including 4.5++.

· ENDS is now recognized but is converted to ENDSW.

 

4.21

· Fixed erroneous error message when using keyword NUM.

· Fixed bug in which caused necessary space to be lost when a line ending in a word with no trailing space is terminated by a plus and the following line begins with a space.

 

4.20

· Now handles unlimited length commands, as long as any one line does not exceed 5000 characters.

· Forms in databases converted with Convert Express have fields which contain char(0) when they should be an R:BASE NULL. When these forms are unloaded the bogus characters are placed in the target file. This confused the daylights out of R:Style. These bogus characters are replaced with a SPACE character which should avoid all problems of this sort.

· Much faster unwrapping.

· Improvements to mixed indenting.

· Files created with UNLOAD now will be automatically fixed to avoid lines broken in mid-word without having to set unwrapping on.

 

4.12

· Allows command words to be used after DOS commands such as CD, MD, RD, DIR as well as ZIP.

· Improvements to mixed indenting.

· Variable splitting now correctly avoids splitting variable declarations that access a table using either the "IN" or "FROM" syntax.

 

4.11

· Fixes bug which caused INT() to be expanded to INTEGER()

 

4.10

· Finds RETURNS inside SWITCH or WHILE.

 

4.08

· Correctly handles block names when they are in R:Style external files.

· Further refinements to mixed indenting.

 

4.07

· Now avoids wrapping a + or & to the next line.

 

4.06

· Fixed bug which trashes RSTYLE.EXP file.

 

4.05

· Added support for indented else style

 

IF...THEN

statements...

ELSE

statements...

ENDIF

 

 

4.04

· Fixed bug in the editor interface which caused incorrect error filename to be used at times.

 

4.03

· Added testing for illegal BREAK

· Error checking can now be READ ONLY. Files are not altered.

 

4.02

· Fixed bug which caused drop of ENDSW when unexpected.

· Fixed bug which caused a sharing violation when calling from the editor.

 

4.01

· Implemented RSTYLE.CFE for definition of Text Editor Calling String.

 

4.0

· Support for interfacing with text editors added. Currently will support Brief, QEdit, WordPerfect Office Editor. Others will be added and updates sent to any registered user who supplies me with the necessary info on their editor, if they are paid up for version 4.0. Many editors are capable of being interfaced both ways. Access editor from R:Style when errors are found, or access R:Style from editor though editor's compiler support.

· Properly handles files created by editors which pad the end of files with EOF characters. One of these is WordStar in non document mode. Cleans out this extra garbage.

· Checks for missing THENs.

· Supports SET SEMI ON!

· Fixed bug which indented block names when label outdenting is on.

· Checks for illegal block names (match command words)

· Further refinements to mixed indenting.

· Diligently avoids any processing of data-blocks between LOAD and END.

· When files such as RSTYLE.CAS are checked and found to need sorting, the necessary files are rewritten to speed up processing on future passes.

· Fixed bug which occasionally caused a file to be truncated.

 

3.32c

· All filenames with no path are prefixed with ".\" to avoid confusion under Novell.

 

3.32b

· Checks files containing $COMMAND, $SCREEN, or $MENU blocks for duplicate block names

 

3.32a

· INT correctly expands to INTEGER when used in SET VAR, ALTER TABLE, and CREATE TABLE.

· Further refinement on mixed indenting.

 

3.32

· Updated Configuration screen - function keys remapped so F2 is SAVE & EXECUTE.

· Option added to indent CASE at same level as SWITCH.

· Option added to break a multiple SET VAR statement into many single SET VAR statements on separate lines.

· Easier to debug with trace.

 

3.31a

· Fixed bug which avoided processing if /X switch was used.

· Now processes files in sorted name order.

· Fixed bug where printer was not recognized: OUTPUT printer

· Now catches many illegal uses of R:BASE commands.

 

3.31

· Fixed bug having to do with configurable SEMI and DELIMIT.

 

3.30b

· Local files such as RSTYLE.CAS are prefixed with "./" so they cannot be confused by Novell.

· Fixed bug where unwrapping would sometime lose a space between words when there was no space between the last word on a line and the + character.

 

3.30a

· Fixed minor bug in mixed indenting option.

 

3.30

· Added mixed indenting option.

· Fixed bug which caused lockup upon finding empty casing file.

 

3.23

· Avoids putting a + on beginning of line after continuation.

· Words put in RSTYLE.PRE will not be expanded and/or will not ever show up in RSTYLE.NEW and/or will be cased exactly as in RSTYLE.PRE.

 

3.22

· BLANK, DELIMIT, and SEMI are now configurable.

· Fixed bug which occasionally caused R:Style to lock up on long files.

 

3.21

· Fixed some oversights in new internal tables.

· Words which R:Style adds to RSTYLE.NEW will be retained until added to RSTYLE.CAS or RSTYLE.VAR.

 

3.20

· Much smarter about R:BASE syntax to avoid placing lots of garbage in RSTYLE.NEW

 

3.17

· Bug fix. Some keywords were incorrectly expanded.

 

3.16

· When unwrapping, and a quoted string ends the line to be continued, makes sure there is a space between the closing quote and the "+"

 

3.14

· Improved handling of CHOOSE command.

 

3.13

· Improved wrapping avoids loosing white space for future unwrapping.

 

3.10

· Complete R:BASE 4.5 keywords

 

3.03

· Smarter algorithm allows for many more short abbreviations.

 

3.01

· Errorlevels documented and improved.

 

0 = no errors.

1 = syntax error in call to R:Style.

2 = illegal extension in file list.

3 = first time this version run, no processing done, make another attempt.

4 = failed to open a file.

5 = could not create cfg file.

6 = customizing file too large.

7 = out of memory.

8 = tried to create backup with same name as source.

9 = file not processed.

10 = user abort.

11 = Found errors in code files.

12 = Found new words (add to RSTYLE.CAS, RSTYLE.VAR, or report bug)

 

· Words that are new to R:Style are placed in a file RSTYLE.NEW for major improvement in user convenience in updating the custom casing files.

 

3.00b

· Lines ending with semicolon will not be wrapped (gives user control)

· User can specify a numbered (0-9) local configuration file.

· User can specify an output file in which case source is not modified.

 

3.00

· When output redirected, only messages about errors in files go to target file. Everything else goes to screen. Makes for very clean printer output.

· Line number processing displayed. (Replaces spinning indicator)

· Smart wrapping column is adjustable.

· Unwrapping now available. Combined with wrapping creates cleaner output.

· Dual column wrapping available with code short wrapped when followed by dash comment and wide wrapped when not.

 

2.28a

· $COMMAND, $MENU, $SCREEN are always flush left.

 

2.28

· LABELs can now be outdented one level or flush left. When either of these options is selected, the rest of the file is indented one level to make room for the outdented LABELs.

 

2.27

· Spinning indicator shows processing activity (nice on a network).

· Spinning indicator goes to stderr so redirected output is clean.

· --INDENT and --OUTDENT comments can be used to add additional control of final look of the processed file.

 

2.26

· RMD removed from the list of illegal extensions.

· Many 4.5 plus words added.

 

2.25

· Now recognizes and obeys SET QUOTES for correct processing.

· Does not modify file if QUOTES are not reset properly.

 

2.24

· Improved smart line-wrapping algorithm.

· WHE or WHER = WHERE due to popular demand.

 

2.23

· Fixed incorrect outdenting of DEBUG + ENDIF, ELSE, ENDSW, or ENDW

· Fixed some problems with reading customizing files.

· Avoids adding RETURN to block in which the last command is EXIT.

 

2.22

· ESC or CTRL-C will safely abort processing at any time.

· Checks files to process against a list of potential disastrous extensions and aborts if any are found.

· Can now use a local configuration file to override the global one.

· Checks structure stack at end of a command block rather than end of file.

· Now reports line where an incomplete structure began.

 

2.21

· Fixed bug in which $MENU and $SCREEN lines caused a lockup.

· File processing is aborted if R:Style senses that QUOTE is set wrong.

 

2.20

· Added smart line wrap option.

· Avoids adding RETURN to block in which the last command is QUIT.

· Fixed bug where wouldn't do abbreviation if keyword not full length.

· RSTYLE.VAR now allows for documentation on same line as variable name

· Added choices in config to set options to:

 

D Default, R Reset from RSTYLE.CFG, K Kill all options

 

· If R:Style aborts processing of a file the original is still intact.

· RSTYLE.VAR and RSTYLE.CAS files can now contain documentation. Anything after the first word on each line is ignored. This will increase memory requirements since the entire file is loaded into memory. Smarter handling in future release

 

2.13

· Correctly indents SET QUOTES='

· Choice descriptions in config screen are easier to understand.

 

2.12

· Fixed bug which caused stack overflow under rare conditions.

 

2.11

· Fixed bug which expanded ENSW to ENDSWITCH.

 

2.10

· Fixed indenting where AS-IS selection was ignored.

· Now finds all permutations of keywords between abbreviated and full length.

· Now distinguishes between filenames and correlation names correctly.

 

1.43

· & in backup file name changed to $ to avoid problems running under OS/2.

· Option /I added to modify indenting style.

· No longer complains about SET QUOTES='

· Avoids attempt to outdent a structure such as ELSE if not first on line.

 

1.42

· Now catches missing RETURNs at end of $COMMAND blocks.

· Now supplies missing RETURNs.

· Option /U added to modify indenting style.

 

1.41

· Simplified command line. Cosmetic changes.

 

1.40

· Detects unpaired parenthesis.

 

1.32

· RSTYLE.VAR provides custom case variable names.

 

1.31

· Now lower-cases all non-keywords.

 

1.30

· Now auto-indents. Warns about misplaced structures.

 

1.22

· RSTYLE.SUB provides user-defined word substitutions.

 

1.21

· /I switch added.

 

1.20

· Warns about missing final RETURN.

· Expansion, abbreviation, casing tables are now internally defined for safety.

· RSTYLE.CAS provides custom casing for user-defined words.

· /L, /Q, /D switches added.

 

1.13

· Command line switch controls keyword abbreviation/expansion.

· /X switch added.

 

1.12

· A line with incorrect number of quotes will not be modified.

 

1.11

· *() comments correctly handled.

 

1.10

· -- comments correctly handled.

· Abbreviates keywords.

 

1.00

· Upper cases keywords. Unabbreviates keywords.