150+ Fungus functions:

      <item#>{$} Gets the place number in the line list.

      <filename>:A{w} Frame function to get the attributes.

      <filename>:V{w} Frame function to get all the Values.

      <filename>{att} Frame function to get the attribute.

      <word>{$} Place function.

      ABS{#} Absolute value (drops the sign).

      AND:n1{n2} Performs a logical AND function.

      ANGLE{#} Converts decimal degrees to deg,min,sec.

      APPROX:val${n} Returns a number from val$ closest to n.

      ARCCOS{COS} Converts COS to ANGLE.

      ARCSIN{SIN} Converts SIN to ANGLE.

      ARCTAN{TAN} Converts TAN to ANGLE.

      ASC{$} Replaces the char. with its ascii value.

      ASK{} A menu to select the item of interest.

      ASSIGN:var{v} Assign the variable "var" with value "v".

      ATNR{#} Arc tangent (radians).

      ATN{#} Arc tangent (degrees).

      AVG_LIST{n} Returns with the average of a list.

      BANK{n} Switches to the BANK specified.

      BINDEC{#} Converts binary to decimal.

      BINOCT{#} Converts binary to octal.

      BLKCUT{} Returns all of the BLKCUT buffer.

      BTRACE{$} Returns all connected items.

      BUILD_DEL{$} Removes duplicate words, keeps same order.

      CHR{#} Replaces the ascii value with its char.

      CKSUM{$} Returns a checksum value.

      CMDPAR{n} Gets the current command, parameter n.

      CMDWRD{n} Returns the place of a specified command.

      COL:n{} Gets the data in column n of a string.

      COL_LIST{n} Gets the list that the column is in.

      COMP:${$} Compares strings, returns common part.

      CONCAT:name{$} As above, but uses the word "name".

      CONCAT{$} Joins the data to the variable CONCAT.

      COSR{#} Cosine (radians).

      COS{#} Cosine (degrees).

      COUNT:$1{$2} Counts the number of $1's in $2.

      CREDCARD{n} Verifys credit card numbers.

      CURDIR{} Returns the current drive and directory.

      CURVE:coef.{#} Gets a point on a curve.

      DECBIN:<n><L/R>{n} Converts and pads to length n.

      DECHEX{#} Converts decimal to hexadecimal.

      DECOCT{#} Converts decimal to octal.

      DECONCAT:name{$} As above, but uses the variable "name".

      DEC{} Command to decrement the PRES item.

      DIFF{$} Removes all non-unique words.

      DIR$:<n"L,R">{<mask>} Returns specified directory listings.

      DISK:NAME{XXX} Executes an external .PBC function.

      EDITOR{} Returns every word in the editor.

      EDWIDEL{} Gets the line # of the longest line.

      EDWIDEN{} Gets the total number of longest lines.

      EDWIDE{} Gets the length of the longest ed. line.

      EWORD:b{n} Gets word n from each line of BANK b.

      EXP{#} Exponent.

      EXT:filename{pass$} Shells to an external EXE function.

      FGROUP:fname{n} Replaces spaces in files with null chars.

      FILE:fname{<# or wrd> Searches a sequential disk file.

      FILE:fname{$} If blank, returns every line.

      FILEPATH{$} Gets the path of desired file.

      FIND various opts{} Searches editor or files:see FUNCTIONS.

      FIRST{$} Gets the first item.

      FIX{#} Convert floating point to integer.

      FLIST:filename{<lst#> Gets all unique items in list n.

      FLISTALL:fname{n} Gets all items contained in list n.

      FNxxx{.3,.9} Calls an ext. .PBC function (FN<name>).

      FOR:X=n..n{'[n*X]'} Steps X while performing the calc.

      FOR:X*'n1 n2'{X/45} Calculates for n1, n2, etc.

      FOR:X>val..set{form} Calculates until X is less than val.

      FORM_SENTENCE{$} Converts unformatted $ with a sentence.

      FUZZY:<fset>{value} Fits the value into the fuzzy set.

      FWORD:fnam{n} Gets word n from each line of file fnam.

      GROUP{$} Replaces spaces with null characters.

      HEAD:n{w} Gets the line# containing the first word.

      HEXDEC{#} Hexadecimal to decimal.

      IF:<twd>..<rwd>{swd} If swd in twd swap with rwd.

      IN$:big${sml$} Gets the beg. position of sml$ in big$.

      INC{} Command to increment the PRES item.

      INCR:var{#} Increments the variable by # amount.

      INP{#} Gets a byte of data from a port.

      INT{#} Convert floating point to integer.

      ITEM:n{list} Gets item n from the list.

      ITEMS{$} Counts the number of items.

      KEEP:var{$} Puts a copy of $ in the variable.

      L$:n{$} Left portion of a string.

      LAST{$} Gets the last item.

      LAST:4{$} Gets the last 4 items.

      LCASE{$} Converts the string to lower case.

      LEN{} Gets the length of the string.

      LEXTRIM{} Strips common prefixes and suffixes.

      LINECUT{} Returns every word in the LINECUT buffer.

      LINET{n<:n>} Returns with a trimmed editor line.

      LINE{n<:n>} Returns with editor line n.

      LISTL{n} Gets the left column boundary of list n.

      LISTR{n} Gets the right column boundary of list n.

      LISTW{n} Gets the width of list n.

      LIST_DEL{n} Returns only the unique items in list n.

      LIST{n} Returns with every item in list n.

      LOGIC{fname} Processes a DOLOGIC module.

      LOG{#} Logarithm of a number.

      LRANKDISP{$} Ranks by number of occur., shows totals.

      LRANK{$} Ranks without posting totals.

      M$:n..n{$} Mid portion of a string (begin, #char.).

      MACRO{var} Gets stored keystrokes and reloads $76.

      MASK:$..101{$} Performs a mask on a passed string.

      MAXLEN{$$$} Gets the length of the longest item.

      MAXLENITEM{$$$} Gets a list of the longest items.

      MINLEN{$$$} Gets the length of the shortest item.

      MINLENITEM{$$$} Gets a list of the shortest items.

      MISS_SEQ{$} Gets any missing number in a sequence.

      MONITOR{} Returns the monitor type.

      NEAR:n{v} Gets line num. of closest value in list.

      NETWORK:fil{'1 0'} Calls NETWORK.PBC to execute XOR.NWK.

      NEXT{} Gets the next item.

      OCTBIN:<n><R/L>{#} Octal to binary with l/r padding.

      OR:n1{n2} Performs a logical OR function.

      ORDER:list{words} Orders the "words" according to "list".

      PAR{$} Directly builds a parameter list.

      PARAG:n,#{} Gets paragraphs from the editor.

      PEEK:segment{address} Gets a byte of data from memory.

      PLACE:<word>{$} Gets the place of a word in a string.

      PRES{} Gets the present item.

      PREV{} Gets the previous item.

      QUOTE{$} Places quotes around the passed data.

      R$:n{$} Right portion of a string.

      RANDOM:1..10{20} Returns with 20 random numbers, 1 to 10.

      RANGE:$..${$} Gets items from $ to $ from $.

      RANKDISP{n} Same as above but with ranking values.

      RANK{n} Returns the items in list n, ranked.

      READSCRN{} Returns the selected screen data.

      RECORD:name{<# or w>} Reads a record file created by MAKEPIPE.

      REML:n{$} Removes any $ of length n.

      REMLNOT:n{$} Removes any $ not of length n.

      REMV:words{$} Removes any "words" found in $.

      REMVANY:${$} Removes any $ char. found in $.

      REMVBEG:$$$${$} Removes multiple prefix $$$$ from $ words.

      REMVEND:$$$${$} Removes multiple suffix $$$$ from $ words.

      REMVNOT:$$$${$} Removes words in $ not beginning with $$$$.

      REMVNOTIN:$$$${$} Removes words in $ not containing any $$$$.

      REMWBEG:$$$${$} Removes $ words if any prefix $$$$ match.

      REMWEND:$$$${$} Removes $ words if any suffix $$$$ match.

      REPL:w1..w2{$} Replaces words w found in $.

      REPLANY:$1..$2{$} Replaces characters $1 in $.

      REV{$} Reverses the word order.

      RID{$} Replaces double spaces with single.

      ROL:n{$} Rotates all words left n places.

      ROR:n{$} Rotates all words right n places.

      RUNPAR{n} Gets parameter n, sent to RUN/CALL.

      SCALE:list{words} Orders "words" according to "list".

      SEL:<title>{$} A window menu to select items.

      SEL:<>..<n/s>{$} Option places selection bar in menu.

      SET_OF:<sets>{member} Gets set that the member belongs to.

      SET_ELEMENT:<s>{mem} Gets the members of the set.

      SET_JOIN{<sets>} Gets every member of all the sets.

      SENTENCE{$} Ungroups sentences from PARAG{}'s.

      SGN{#} 0 if zero, 1 if positive, -1 if negative.

      SINR{#} Sine (radians).

      SIN{#} Sine (degrees).

      SIZE:n<L/R>{$} Pads the Left or Right side.

      SLICE:n..n{$} Gets a portion of each editor line.

      SORT_DEL{$} Sorts and removes redundant words.

      SORT_DIF{$} Sorts and removes all non-unique words.

      SORT_NUM{$} Sorts by numerical order.

      SORT_REAL{$} Performs a real-world sort.

      SORT{$} Sorts the words in alphabetical order.

      SPACE:n{$} Inserts n spaces between characters.

      SPELL{$} Find a close match to $.

      SPELL:LIST{$} Remove any $ words found in dictionary.

      SPELL:NO_RULES{$} SPELL:LIST{$} with out using spell rules.

      SPELL:ADD_TO{$} Place $ words into the auxiliary dic.

      SQR{#} Square root.

      STRING:n{$} Makes a string of chars. of length n.

      STUFF{data(^)} Stuff data into the keyboard buffer.

      SUM_LIST{n} Returns with the sum of the items.

      SUM{$} Sums all the numbers in the char. string.

      TAG:<title>{$} Displays a menu for tag selection.

      TAG:<>..<n/s>{$} Option places selection bar in menu.

      TAIL:l{w} Gets the line# where the last word fond.

      TANR{#} Tangent (radians).

      TAN{#} Tangent (degrees).

      THES:file{$} Performs a thesaurus function.

      TIME{DATE} Returns the date as mo-day-year.

      TIME{GDATE} Returns the date as day-mo-year.

      TIME{SINCE} Returns the elapsed time since.

      TIME{TOD} Returns the time of day.

      TRIM{$} Trims spaces off the ends of strings.

      TSP:list1..list2{b} Traveling Salesman Problem.

      TST:list1..list2{b} Traveling Salesman Tour.

      UCASE{$} Converts the entire string to upper case.

      UNGROUP{$} Replaces nulls with spaces.

      VARN{$} Searches the var table, returns names.

      VARV{$} Searches the var table, returns values.

      WHERE_AT{$} Searches the editor, gets the column.

      WHERE_IS{$} Searches the editor, gets line numbers.

      WRITDOLR{n} Converts a numerical value to longhand.

      XOR:n1{n2} Performs a logical XOR function.


      MAILBOX Contact Us MAILBOX

      E-Mail: sales@USynaptics.com

      Universal Synaptics Corporation
      1801 West 21st Street
      Ogden, Utah 84401 USA
      Tel. (801) 731-8508
      Fax (801) 731-8509