Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
As BorIDE progresses...
#4
Just made a independend style for ZXB external functions:
"Asc Attr Csrlin Free GetKey GetKeyScanCode Hex Hex16 Input Lcase Malloc Memcopy Multikeys Point Pos Printat42 Screen Scrollleft Scrollright Realloc Ucase". The different style remembers the user to include the correct Library, which will be displayed in Quick help.
The problems are following: InLine ASM Mnemonics SUB are styled as BASIC and causes Open fold, so folding does not work correctly anymore if SUB is used, FreeBasic Commands are not very good for mixing them with Z80 ASM, so my proposal is to change SUB into DEFSUB, PROC or DEFPROC. END SUB should be then changed to END DEFSUB, END PROC or END DEFPROC.
OUT and IN in Assembler are styled as BASIC OUT command, but this is not a big problem as they have no effect on fold. Maybe it is also not a bad idea to make BASIC REM sign ( ' ) also a REM Sign for Assembler, additional to the usual ";"
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 10 Guest(s)