0 Members and 2 Guests are viewing this topic.
according to his intro topic, its BASIC/xLib
Quote from: yunhua98 on October 14, 2010, 11:21:07 pmaccording to his intro topic, its BASIC/xLibAside from the movement thing, it runs at a pretty reasonable speed for it.
I use both, sorta..Reason is...1.OSR use CODEX2. Locking my prgms3. rectangles...
12 - DrawShape--------------usage: real(12,Shape_Type,x1,y1,x2,y2,DrawShape_UpdateLCDShape_Type = Tpye of Shape you want to draw:0 = DrawSingleLineBlack1 = DrawSingleLineWhite2 = DrawSingleLineInvert3 = DrawEmptyRectangleBlack4 = DrawEmptyRectangleWhite5 = DrawEmptyRectangleInvert6 = DrawFilledRectangleBlack7 = DrawFilledRectangleWhite8 = DrawFilledRectangleInvert9 = DrawRectOutlineBlackFillWhite10 = DrawRectOutlineWhiteFillBlackx1 = First x coord (for rectangles this is TOP LEFT corner)y1 = First y coord (for rectangles this is TOP LEFT corner)x2 = Second x coord (for rectangles this is BOTTOM RIGHT corner)y2 = Second y coord (for rectangles this is BOTTOM RIGHT corner)Scrl_UpdateLCD = Toggle LCD update 0 = No, 1 = Yes
det(0,"FILENAME",[function_number])Performs an action with a file given the function_numberprovided. If function_number is... 0 = Archive/unarchive a file. The output will be zero if it has been unarchived. Some other number if archived.1 = Lock/unlock a file. The output is 0 if unlocked, 1 if it is locked, 2 if you attempted this on an appvar.2 = Program to appvar and vice versa. A "1" will be output if the operation was a success.3 = Hide/unhide a file. Outputs 0 if the file is visible, 1 if it is now hidden.4 = Delete. Just. Deletes a file. Not undoable. Be careful on how you use this.5 = Create. Creates a zero-sized file with the name you choose. There so you can insert your own stuff in it.6 = Prog to string. Outputs the entire program file into a string so you can paste it into some other file.7 = Output stats. Somewhat complicated. It outputs three letters followed by five digits indicating its size. Those three letters will tell you a lot about the file 1st letter: A= archived, R= in RAM 2nd letter: H= hidden, V= visible 3rd letter: W= writable, L= locked (uneditable) Naturally, archived files are uneditable. To get just the size of the file, do this: expr(sub(det(0,"FILENAME",7),4,5)) If you omit the function number, the command defaults tothe archive/unarchive function. Useful for saving bytes.