C.Basic - Quick Manual

  Enterance > English Top > C.Basic > Quick Manual

File List Page

Flie List     

File List comes right after C.Basic is started. 

  • [UP]   Move cursor to the previous file.
  • [DOWN] Move cursor ro the next file.
    Pressing A to Z, cursor jumps to a file name which starts with the pressed alphabet. This feature is fx-5800P compatible but not fx-9860G / fx-9860GII.
  • [F1] (EXE)       Run selected file.
  • [F2] (EDIT)     Edit selected file.
  • [F3] (NEW)     Create new file.
  • [F4] (COPY)    Copy selected file.
  • [F5] (DEL)       Deleted selected file.
  • [F6] ( > )         Move to next menu.
      [F1] (>Text)     Convert selected source file (g1m file) to text file.
      [F2] (REN)        Rename file.
      [F3] (Fav.)         Set/Reset selected file to/from "Favorite".
      [F4] (Fv.↑)        Move upward selected Favorite file.
      [F5] (Fv.↓)        Move downward selected Favorite file.
      [F6] ( > )           Move to previous menu.
               [F1] (MK.F)          Make new Folder (C.Basic for FX)
                       (MKEFLDR)   Make new Folder (C.Basic for CG)
               [F2] (RN.F)           Rename Folder (C.Basic for FX)
                       (RENFLDR)    Rename Folder (C.Basic for CG)
               [F6] ( > )              Move to the first menu

  • [EXE]  Run the selected file.

  • [SHIFT]+
      [EXIT](QUIT)  Move back to root from sub-folder.
      [◀]                  Contrast↓ (*internal function of OS)
      [▶]                  Contrast↑ (*internal function of OS)
      [F1] (Var)        Go to Variables Page.
      [F2] (Mat)        Go to Mat/List/Vct Page. ⇒ see details
      [F3] (V-W)       Go to ViewWindow page.
      [F4] (Pass)      Set/Reset pass word.
      [F6] (Debg)     Start Debug mode & open Editor page.

  • [VARS] (Variables Review Page)
      [F1] (A<>a)                    Switch between display of capital and small letter variables.
      [F2] (Init)                        Initialize all the displayed variables.
      [F3] (D<>I)                     Siwitch between Integer and Double variables.
      [F6] (→Hex/→Dec)          Switch display of values between in Hex and Dec.
          [SHIFT]+[UP]/[DOWN]   Scroll single page up and down.
          ※ Local variabe is marked with "=".

  • [SHIFT]
      [MENU] (SETUP)
    Initial Settings. ⇒ see details
      [F6]  Pop up Version information.

  • [OPTN]  Set/Reset selected file to/from "Favorite".

  • [EXIT]  Move cursor back to first file in the list.
        When cursor is at the first file in sub-folder, move back to root.

(Top)

Editor Page

Edit      

Guide marker displayed in very right of Editor Page indicates cursor position in source file. Right example above shows Editor Page that mini-font is applied in setup page.

  • [F1] (JUMP)         Display JUMP Sub-menu.
      [F1] (TOP)     Jump to top line of source file.
      [F2] (BTM)     Jump to end line of source file.
      [F3] (GOTO)   Jump to a line where you want to go.
      [F5] (Skip↑)  Skip lines (preset # of line is available in Setup page) toward to top.
      [F6] (Skip↓)  Skip lines (preset # of line is available in Setup page) toward to end.
  • [F2] (SRC)     Go to Character String Search/Replace page. ⇒ see details
  • [F3] (CMD)    Go to Command Select page (fx-5800P mode).
           (MENU)  Select Command (fx-9860G mode).
  • [F4] (A<>a)  Switch Capital and small letter.
  • [F5] (CHAR)  Go to Character Select page.
  • [F6] (EXE)     Run program or restart program when it's in pause.

  • [SHIFT]+
      [EXIT](QUIT)           Go back to File List page.
      [LEFT]                      Contrast↓ (*internal function of OS)     (C.Basic for FX)
                                          Change font size & line spacing smaller  (C.Basic for CG)
      [RIGHT]                   Contrast↑ (*internal function of OS)     (C.Basic for FX)
                                          Change font size & line spacing bigger   (C.Basic for CG)
      [UP]                         Scroll N pages up (N is set in Setup Page).
      [DOWN]                   Scroll N pages down (N is set in Setup Page).
      [F1] (Var)                Go to Variables page.
      [F2] (Mat)                Go to Mat/List/Vct page. ⇒ see details
      [F3] (V-WIN)           Go to ViewWindow page
          [F4] (DUMP)/(List)  Switch "Basic List" and "Hex Dump" display (fx-5800P mode).                  (SKTCH)           Select Sketch command (fx-9860G mode).
      [F5] (A<>a)            Switch Capital and small letter.
      [F6] (G<>T)            Switch Graphics and Text screen (fx-5800P mode).
              (CHAR)            Go to Charactor Select page (fx-9860G mode).

          [3]  Input keycode of Getkey command.
          [6]  Pop up Color Picker to input color code (C.Basic for CG).

  • [OPTN]  Pop up Command List supported by [OPTN] of fx-9860G/GII (fx-5800P mode).
                  Select Command (fx-9860G mode).

  • [VARS]  Pop up Comamnd List supported by [VARS] of fx-9860G/GII (fx-5800P mode).
                 Select command (fx-9860G mode).

  • [MENU] Comamnd input record (chronological order / input frequency order can be changed by right and left key.
    - [AC/ON]  Erase Record

  • [SHIFT][VARS] (PRGM)  Pop up Command List supported by [PRGM] of fx-9860G/GII.

  • [SHIFT][MENU] (SETUP)  Go to Setup page (fx-5800P mode).
                                             Select command (fx-9860G mode).

  • [EXIT]   Go back to previous page, cancel clip mode or go back to File List page.

(Top)

Debug Mode Editor Page

Debug       

Debug mode page comes up when program is broken intentionally or by error. Right example above shows Debug Mode Edotr Page that mini-font is applied in setup page.

In Degub Mode, status line is getting inverted on C.Basic for FX or becomes cyan color background.  

  • [F1](Cont) 
    • Continue program from cursor position.
  • [F2](Trce) 
    • Trace program from cursor position and come back to Editor page in Debug Mode right after the traced command runs, .
  • [F3](Step) 
    • Trace and Step Over comamnd from cursor position and come back to Editor page in Debug Mode right after the command runs. When sub-routine runs, the sub-routine is executed to the end.
  • [F4](S.ot) 
    • Step Out from cursor position and come back to Editor page in Debug Mode right after the command runs. When the sursor is in sub-routine the sub-routine is executed to the end.
  • [F5](L<>S) 
    • Switch Editor page and program running screen. When the Program Running Screen is displayed, debug operaiton with [F1] - [F4] is still available.
  • [F6]( ▶ ) 
    • Switch Debug menu to and from Editor menu. When Program Running Screen is displayed, pressing [F6](▶) displays Editor menu.
  • [EXIT] Go back to previous page, cancel clip mode or go back to normal (not in Debug mode) Editor page.

(Top)

Program Running Page

During program is running;

  • [AC]  Stop program.
      [EXIT]        Go to Editor in Debug mode. Cursor locates at break point.
      [◀] / [▶]   Go to Editor in Debug mode. Cursor locates at break point.
      [F1]            Resume program.
      [EXE]        Resume program.

When program is halted by command (- Disp - is displayed on screen);

  • [SHIFT]+
      [F1](Var)      Go to Variables page
      [F2](Mat)      Go to Mat/List/Vct Page ⇒ see details
      [F3](V-W)     Go to ViewWindow Page
      [F6](G<>T)   Switch between Graphics and Text screen
  • [EXE]  Resume program.

(Top)

Mat/List/Vct Page

In this page Mat, List and Vct can be reviewed. Operation procedure of Mat, List and Vct is same, since List and Vect are internaly implemented as extended Matrix.
(The Mat marked by * in this page is alocated by addressing.)

Operation in Review Mode

  • [F1] (DEL)              Delete selected Mat/List/Vct.
  • [F2] (DEL-ALL)       Delete all Mat/List. 
  • [F3] (DIM)              Set dimention, element size and start index of selected Mat/List/Vct.
  • [F4] (INITIAL)        Initialize all elements of selected Mat/List/Vct.
  • [F5] (Mat:/Lst:/Vct:)  Select a number and jump to Mat/List/Vct of the number in alphabetical order.
  • [F6] (A<>a)           Switch between capltal letter and small letter of Mat name.

  • [EXE]     Enter to Edit Mode of Mat/List/Vct. ⇒ see details
  • [OPTN]  Switch showing between Mat and List.
  • [VARS]  Switch showing between Mat and Vct.

  • [◀]        Same as [F3].
  • [▶]        Scroll one page.

Operation in Edit Mode of Mat/List/Vct

  • [SHIFT]+[8] (CLIP)     All data of selected Mat/List/Vct is clipped in buffer.
  • [SHIFT]+[9] (PASTE)  Clipped data is pasted to selected Mat/List/Vct from buffer. 

to edit numerical value;

  • [F1] (EDIT)              Edit the element of the Mat/List/Vct.
  • [F2] (GO)                 Go to element set by row and column.
  • [F3] (INITIAL)         Initialize all elements.
  • [F4] ([m,n]/[X,Y])   Switch Matrix indication between [m,n] and [X,Y].

  • [F5]  Switch element values between in decimal and binary.
    (applied only to nybble (4 bits), byte (1 byte) and word (2 bytes))
  • [F6]  Switch element values between in decimal and hexadecimal.
    (not applied to 1 bit and a complex number (16 bytes), double number (8 bytes) just displays internal data))

  • [OPTN]   Enter to Dot Editor Mode.
  • [VARS]   Enter to Character Strings Edit Mode.

 Only for g3m mode on C.Basic for CG (excluding 1 bit Mat/List/Vct);

  • [SHIFT]+[5]  Input 4 bit color value in nibble (4 bits) or 16 bits color value in other element number type.
  • [SHIFT]+[6]  Input 16 bits color value (excluding nibble (4 bits) Mat/List/Vct).

to edit Dots;

Each element value of matrix can be handled as color code.
- Using in 1 bit matrix or in g1m mode, 0(zero) = black and 1 = white.
- Using in nibble (4 bits matrix), 4 bits color value is applied.

  • [F1] (0<>1)  Switch element value between 0 and 1.(1 bit Mat or g1m mode)
    [F1] Change color of selected dot by diplayed color of [F1] function menu.
             (excluding 1 bit Matrix of g3m mode)
             * Change to black when selected dot and [F1] function menu are in same color.
  • [F2] (GO)                Go to element set by row and column.
  • [F3] (INITIAL)        Initialize all elements.
  • [F4] ([m,n]/[X,Y])  Switch Matrix indication between [m,n] and [X,Y]. 

  • [F5]  Switch element values between in decimal and binary.
    (applied only to nybble (4 bits), byte (1 byte) and word (2 bytes))
  • [F6]  Switch element values between in decimal and hexadecimal.
    (not applied to 1 bit and a complex number (16 bytes), double number (8 bytes) just displays internal data))

  • [OPTN]  Enter to the numerical value edit mode.
  • [VARS]  Enter to Character Strings Edit Mode.

Only for g3m mode on C.Basic for CG (excluding 1 bit Mat/List/Vct);

  • [SHIFT]+[5]  Input 4 bit color value in nibble (4 bits) or 16 bits color value in other element number type.
  • [SHIFT]+[6]  Input 16 bits color value (excluding nibble (4 bits) Mat/List/Vct).

(Top)

Search & Replace Page

Search character string

Operating procedure;

  1. Input character string and press [F1](SEARCH) or [EXE].
  2. To search next, press [F1](SEARCH) or [EXE] again.
  3. Press [F6](RETRY) to back to search page.

Replace character string

Operating procedure;

  1. Input character string to search, and press [F2](REPL).
  2. Then input character string to be replaced with, and push [F1](SEARCH), [F2](REPL) or [EXE].
  3. To search more for replacment, press [F1](SEARCH) or [EXE] again.
  4. Then press [F2](REPL) to replace again.
  5. To replace all, press [F3](ALL) or [F4](ALL+). To quit replacement, press [AC/ON].
    When pessing [F4] (ALL+), progress status is not displayed.

(Top)

Select Character Page

In addition to character set of genuine Casio Basic, more characters are supported.

In "Character Select" page;

  • [F6]                                ASCII, Kana, external character can be applied.
  • [SHIFT]/[F1]~[F6]        Continuous input is available.
  • [OPTN]                           Switch between mini-font and normal font.
  • [VARS] - C.Basic for FX    Switch between OS supported the mini-font and normal font.
    [VARS] - C.Basic for CG    Switch between C.Basic font and OS supported font.
    When OS supported font is displayed, special character can be input without escape.

GB font (Guójiā Biāozhǔn code) - available on C.Basic for CG

 

       

In order to use GB font, in "Setup" page "Edit GB Font" setting should be "On" or "Full". Then
[x^2]  to switch between "GB code input mode" and other font input mode.

  • [F1]  Jump to beginning 0xA0**.
  • [F2]  Go back 16 pages.
  • [F3]  Go back 1 page.
  • [F4]  Go forward 1 page.
  • [F5]  Go forward 16 pages.
  • [F6]  Jump to end 0xFE**.

*At the time of GB code indication, escape(0x5C) may be necessary to display special character.
*Character with the escape(0x5C) is shown with yellow background.

(Top)

Setup Page

Setup    

Setup items - compatible with genuine Casio Basic

  • Angle                 :Deg / Rad / Gra
  • Complex Mode   :Real / a+bi / r∠θ
  • Draw Type          :Connect / Plot
  • Coord                 :on / off
  • Grid                    :on / off / Line
  • Axes                   :on / off / Scale
  • Label                  :on / off
  • Derivative           :on / off
  • Background        :None / Pict1-20               (C.Basic for FX)
                               :None / Pict1-20 / Open    (C.Basic for CG)
  • Plot/LineCol       :Black etc.                        (C.Basic for CG)
  • Sketch Line         :Normal / Thick / Broken / Dot            (C.Basic for FX)
                               :Normal / Thick / Broken / Dot / Thin  (C.Basic for CG)

Setup1    

Setup2    

Setup items - newly provided and extended for C.Basic

  • Display: Fix / Sci / Nrm / Eng
    Max number of digit after decimal point can be 15. Setting 0 (zero) max digit is 16.
    Nrm1 or Nrm2 is fully compatible with genuine Casio Basic and max digit is 10.
     - Nrm1: -0.01<x<0.01
     - Nrm2:-0.000000001<x<0.000000001
     - Other number (0 or 3 - 15) is to set max number of digit.
    Eng: select among Eng Off, Eng On (/E) and 3 digit separator (/3)
    ※ Related command: Eng, Norm, Fix, Sci
  • Use Hidden RAM: on / off
    Set if C.Basic uses hidden RAM or not.
  • Break Stop: on / off
    Set if [AC] key break is accepted or not.
    When it's off, you cannot break program by [AC] key.
  • Exec TimeDsp: on / off
    Set if program running time is displayed or not after the program quits.
    Timer starts at first line of program. ? or ◢ command reset the timer.
  • IfEnd Check: on / off
    Set if one-to-one correspondence of "If" and "IfEnd" statement is chacked or not.
  • Key 1st time: 25 ms - 1000 ms (default value is 500 ms)
    Set time before key repeat starts (in 25 ms interval)
  • Key Rep time: 25 ms - 500 ms (default value is 125 ms)
    Set key repeat duration time (in 25 ms interval)
  • SkipUp/Down: 1 - 9999
    Set number of skipping page for SkipUp ([SHIFT][Up]) or SkipDown ([SHIFT][Down]).
    ※改行ごとに一行増える論理行ではなく画面上での見た目上での物理行数です。
  • Mat Dsp mode: [m,n] / [X,Y]
    Set matrix display format in Matrix Editor page.
    Format [m,n] and [X,Y] are in transposed matrix each other, but just only the apperance on screen is different. The internal matrix data is still same, won't be changed.
  • Matrix base: 0 / 1
    Set index of matrix starts with 0 or 1.
    When the start index is set to 0, lfet-top pixel comes to be available to use and left-yop coordinate of device coordinates can be (0, 0).

- Related command: '#Mat 0, '#Mat 1

  • Pict mode: S.Mem / Heap
    - S.Mem: Pict file is created in storage memory and it takes a bit longer.
    - Heap: Pict file is not actually created, but compatible file is allocaed in main memory.
  • ACBreak: on / off
    Set ACBreak command to be enable or disable.

- Related command: ACBreak

  • RefrshCtl DD: off / Grp / All
    Set how to refresh screen at running of display and draw command.
    Off: No extra refresh control is carried out, which is compatible with genuine Casio Basic.
    Grp: Only graphics draw commands make screen refreshed, excepting ClrText, Locate, Text, LocateYX, ”” (this exception is compatible with former version of C.basic).
    All: All the display and draw commands male screen refreshed. PutDispDD should be used as may be necessary. 
    Time: Set refresh control tme in interval of 1/128 sec. Defalt value is 3 then refresh control is every 1/42 sec.

- Related command: RefrshCtrl, RefrshTime

  • DATE: 2017/01/17 TUE
    Set date of internal RTC. A day of the week is autmatically set.
  • TIME: 23:59:59
    Set time of internal RTC

- Related command: DATE, TIME

  • Storage mode: S.Mem / SD
    S.Mem: Files in storage memory is used for run and edit.
    SD: Files in SD is used for run and edit (available oonly for SD verison of fx-9860G series
  • Force g1m save: on / off
    Set "save automatically" or "not save" g1m file, after run or edit of text file.
  • Execute mode: Dbl# / Int%
    Set running mode as default.

- Related command: '#CBasic, '#CBASIC, '#CBINT, '#CBint

(Top)

inserted by FC2 system