Advertisement
Guest User

Viria - Commands w/o Parentheses

a guest
Sep 1st, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 5.41 KB | None | 0 0
  1. (struct moar (x) #:transparent #:mutable)
  2. (define regrarity (list 0 1 2 3 4))
  3. (define none (list 0))
  4. (define testarity (list 0 2 3 4 5))
  5.  
  6. (define cmds (hash "oVarStats" (list 0 1 2) ; This is the only command list requiring the list of possible arities. If any value x and above can be used, then you may use (moar x).
  7.                    "tVarStats" (list 0 2 3) ; rand uses a separate call named, of course, "rand".
  8.                    "Archive" (list 1) ; If they take arguments, then such functions will search for a space before the first argument, and commas before the rest.
  9.                    "AxesOff" none ; Note: some commands have different names to please the lexer
  10.                    "AxesOn" none
  11.                    "apbi" none
  12.                    "Boxplot" none
  13.                    "CLASSIC" none
  14.                    "ClearEntries" none
  15.                    "ClockOff" none
  16.                    "ClockOn" none
  17.                    "ClrAllLists" none
  18.                    "ClrDraw" none
  19.                    "ClrHome" none
  20.                    "ClrList" (moar 1)
  21.                    "ClrTable" none
  22.                    "Connected" none
  23.                    "CoordOff" none
  24.                    "CoordOn" none
  25.                    "CubicReg" regrarity
  26.                    "DECAnswer" none
  27.                    "Degree" none
  28.                    "DependAsk" none
  29.                    "DependAuto" none
  30.                    "DiagnosticOff" none
  31.                    "DiagnosticOn" none
  32.                    "Disp" (moar 0)
  33.                    "DrawF" (list 1)
  34.                    "DrawInv" (list 1)
  35.                    "\\e" (list 1) ; this is the small e
  36.                    "Else" none
  37.                    "End" none
  38.                    "Eng" none
  39.                    "ExecLib" none
  40.                    "ExpReg" regrarity
  41.                    "ExprOff" none
  42.                    "ExprOn" none
  43.                    "Fix" (list 1)
  44.                    "Float" none
  45.                    "FnOff" none
  46.                    "FnOn" none
  47.                    "FRAC Answer" none
  48.                    "Full" none
  49.                    "Func" none
  50.                    "GarbageCollect" none
  51.                    "getDate" none
  52.                    "getDtFmt" none
  53.                    "getKey" none
  54.                    "getTime" none
  55.                    "getTmFmt" none
  56.                    ; Lbl and Goto have their own calls
  57.                    "GridOff" none
  58.                    "GridOn" none
  59.                    "GT" none
  60.                    "Histogram" none
  61.                    "Horiz" none
  62.                    "Horizontal" (list 1)
  63.                    "If" (list 1)
  64.                    "IndpntAsk" none
  65.                    "IndpntAuto" none
  66.                    "Input" (list 0 1 2)
  67.                    "LabelOff" none
  68.                    "LabelOn" none
  69.                    "LinRegABX" none
  70.                    "LinRegAXB" none
  71.                    "LinRegTInt" testarity
  72.                    "LinRegTTest" testarity
  73.                    "LnReg" regrarity
  74.                    "Logistic" regrarity
  75.                    "ManualFit" (list 0 1)
  76.                    "MATHPRINT" none
  77.                    "Med-Med" regrarity
  78.                    "ModBoxPlot" none
  79.                    "Normal" none
  80.                    "NormProbPlot" none
  81.                    "Param" none
  82.                    "Pause" (list 0 1)
  83.                    "PlotsOff" (moar 0)
  84.                    "PlotsOn" (moar 0)
  85.                    "Pmt_Bgn" none
  86.                    "Pmt_End" none
  87.                    "Polar" none
  88.                    "PolarGC" none
  89.                    ; Both exec and prgm have their own calls
  90.                    "Prompt" (moar 1)
  91.                    "PowerReg" regrarity
  92.                    "QuadReg" regrarity
  93.                    "QuartReg" regrarity
  94.                    "Radian" none
  95.                    "Reti" none
  96.                    "Real" none
  97.                    "RecallGDB" (list 1)
  98.                    "RecallPic" (list 1)
  99.                    "RectGC" none
  100.                    "Repeat" (list 1)
  101.                    "Return" none
  102.                    "Scatter" none
  103.                    "Sci" none
  104.                    "Seq" none
  105.                    "Sequential" none
  106.                    "SetUpEditor" (moar 0)
  107.                    "Simul" none
  108.                    "SinReg" regrarity
  109.                    "startTmr" none
  110.                    "Stop" none
  111.                    "StoreGDB" (list 1)
  112.                    "StorePic" (list 1)
  113.                    "Then" none
  114.                    "Time" none
  115.                    "TInterval" (moar 0)
  116.                    "Trace" none
  117.                    "TTest" (moar 0)
  118.                    "UnArchive" (list 1)
  119.                    "uvAxes" none
  120.                    "uwAxes" none
  121.                    "Vertical" (list 1)
  122.                    "vwAxes" none
  123.                    "Web" none
  124.                    "While" (list 1)
  125.                    "xyLine" none
  126.                    "ZBox" none
  127.                    "ZDecimal" none
  128.                    "ZInteger" none
  129.                    "ZInterval" none
  130.                    "ZoomIn" none
  131.                    "ZoomOut" none
  132.                    "ZoomFit" none
  133.                    "ZoomRcl" none
  134.                    "ZoomStat" none
  135.                    "ZoomSto" none
  136.                    "ZPrevious" none
  137.                    "ZSquare" none
  138.                    "ZStandard" none
  139.                    ; note: Z-Test has a parenthesis attached
  140.                    "ZTrig" none
  141.                    ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement