
────────────────────────────────────────
 SHEERPOWER V011.032.14  │  KEYS · HELP
────────────────────────────────────────
 File   📁 c:\users\misterdan\browser-agent\examples\regression\r_hhist_cmds_file.txt
 Saved  ⭐ 1 Starred   🕘 1 History   🔤 41 Abbreviations
Skill levels
  1 - Beginner  new to programming
  2 - Newcomer  new to Sheerpower, not to programming
  3 - Regular   writes Sheerpower often
  4 - Fluent    tables, web handlers and arrays every day
  5 - Expert    knows the language well
skill n  chooses yours (1 to 5) and remembers it
>>> print 5+10
 15 
>>> print 'hi'
hi
>>> pr^R
  History
   1. * print 'starred yesterday'
  ------
   2. print 'hi'
   3. print 5+10
   4. print 'from yesterday'
  menu> 2
>>> print 'hi'
hi
>>> print 'hi'^S
Starred
>>> ^R
  History
   1. * print 'hi'
   2. * print 'starred yesterday'
  ------
   3. print 5+10
   4. print 'from yesterday'
  menu> 1
>>> print 'hi'
hi
>>> print 'hi'^S
Un-starred
>>> print 'hi'^R
  History
   1. print 'hi'
  menu> 

>>> .  Abbreviations
   1. hi.   print 'hello'
  ------
   2. ot.   open table {t}: name '@{t}'
   3. of.   open file {ch}: name '@{file}', access {access: input}
   4. et.   extract table {table}{nl}  {?}{nl}end extract
   5. ee.   end extract
   6. st.   set table
   7. cc.   collect cluster {cluster}{nl}  {?}{nl}end collect
   8. ec.   end collect
   9. ac.   add cluster
  10. ea.   end add
  11. fe.   for each {cluster}{nl}  {?}{nl}next {cluster}
  12. ne.   next
  13. in.   include
  14. ex.   exclude
  15. sb.   sort by
  16. sd.   sort descending by
  17. p.    print
  18. pc.   print #
  19. pa.   print at
  20. pe.   print _extracted
  21. li.   line input
  22. lm.   line input menu
  23. ls.   line input screen
  24. r.    routine
  25. er.   end routine
  26. pr.   private routine
  27. we.   when exception in{nl}  {?}{nl}use{nl}  {?}{nl}end when
  28. u.    use
  29. ew.   end when
  30. sc.   select case {expr}{nl}  case {?}{nl}    {?}{nl}  case else{nl}    {?}{nl}end select
  31. ce.   case else
  32. es.   end select
  33. ei.   end if
  34. ed.   end do
  35. xd.   exit do
  36. xf.   exit for
  37. xr.   exit routine
  38. do.   do{nl}  {?}{nl}loop
  39. fo.   for {i} = 1 to {n}{nl}  {?}{nl}next {i}
  40. e.    edit
  41. l.    list
  menu> 

>>> help keys
The console's keys   (the prompt is  >>>  ; <enter> runs the command)

Editing the line
  - <left> <right>      move along the line -- a long line wraps onto the
                        rows below, and the arrows go across them
  - <end>               move to the end of the line
  - a click             put the cursor on that character of the line
  - <backspace> <del>   erase the character before / under the cursor
  - ctrl/j              delete the word before the cursor
  - ctrl/u              clear to the start of the line
  - ctrl/a              toggle insert / overwrite
  - ctrl/c              copy the selected text
  - ctrl/w              redraw the screen
  - ctrl/+ ctrl/-       the window and its text larger / smaller (remembered)
  - ctrl/0              the window back to its normal size

Completing
  - <tab>               complete the word: a keyword, option, function,
                        variable, cluster, or a cluster's member after ->
  - f1                  help for the word at the cursor: the statements and
                        functions that match, the selected one's form, use
                        and an example that ran beside them; type to search,
                        <esc> closes it (a halted program: f1 = step over)
  - ctrl/e              pick an emoji: the starred first, then the last 20
                        used, then the most used; type to search, <enter>
                        inserts it, ctrl/s stars it, <esc> closes the list
  - name.<enter>        your abbreviation: its text appears on the next line --
                        <enter> runs it, <ctrl/u> erases it, or edit it first
  - .<enter>            the Abbreviations menu: pick one, its text appears
  - {table} holes       in an abbreviation: <tab> jumps to the next hole,
                        <shift/tab> back; {rate: 0.12} = a default; {nl} lands
                        as \ so the whole block is one runnable line; a
                        {name} value fills every later {name}

Remembering
  - <up> <down>         walk back and forth through earlier commands;
                        <down> past the newest: the line you were typing
  - <home>              recall the earlier command that starts as typed
  - ctrl/r              search the history: a list over the screen, starred
                        first, then newest, each with its age; what you type
                        is found anywhere in a command -- type more to narrow
                        it, <up> <down> to move, <enter> puts the command on
                        the line, <esc> leaves, ctrl/s stars; after a ~ the
                        letters need not be contiguous: ~gneve finds Genevieve
  - ctrl/s              star / un-star the command on the line, or the
                        abbreviation whose name is on the line
  - <pgup> <pgdn>       walk the recall list from where you last left it

Running
  - <enter>             run the line
  - alt/b               halt a running program and enter the console there
  - <esc> f1 f2 f3      when halted:  step, step over, step, step out
  - ctrl/z              leave the console

Console words
  - help                open the getting-started page
  - help <words>        the help f1 gives for those words
  - edit                edit this source code
  - []                  start adding lines to the program;  <esc> stops
  - keys                this list
  - skill               the five skill levels, yours marked
  - skill n             set your skill level, 1 to 5 (remembered)
  - ?name               inspect a variable, array or cluster
  - ?expr               its type and value
  - name. = text        define an abbreviation;  name. = (nothing) removes it
  - *name. = text       a starred abbreviation;  *name. toggles the star

>>> x = 5
>>> pt. = print typeof$(x)
>>> pt.
>>> print typeof$(x)
Name:X, Dtype:Real, *Narrow*
>>> hi. =
hi. removed
>>> ot.
>>> open table client: name '@client'
?? File not found>> Could not open c:\users\misterdan\browser-agent\examples\regression\client.str
>>> *st. = print 'starred sc'
>>> st.
>>> print 'starred sc'
starred sc
>>> *st.
st. un-starred
>>> *st.
st. starred
>>> st.^S
Un-starred
>>> ot.^S
Starred
>>> 

>>> 