Sub1

 

 

Overview

The -- decrements the target argument by one.

Usage

The ++ macro is equivalent to the following Lisp expression:

(setq target (- target 1))

 

Syntax


Expression:

(-- target source)


Arguments Name Type Description
Argument:target Symbol The target object. Must be a symbol.

Returns:

Returns the result of the subtract operation.



 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

Number Integer Complex Symbol

Here are also a number of links to functions having arguments with any of these data types.

++ += + /=
/ *= * --
-= - abs acos
add1 addMethod addi append
apply argument arithmetic asin
atan avg badd balance
bdiv binaryInsert binaryNand binaryNor
binaryNot binaryNxor binarySearch bitwiseAnd
bitwiseNand bitwiseNor bitwiseNot bitwiseNxor
bitwiseOr bitwiseShiftLeft bitwiseShiftRight bitwiseXor
bmod bmul boolean cadd
cdiv cdr char character
cmod cmul code compareEQ
compareGE compareGT compareLE compareLT
compareNE compare comparison complex
compress conjugate cons cos
cosh count csub date
day days360 debugDetective debug
decode defchild defclass define(macro)
define defmacro defmethod deforphan
defriend defun deg deleteRows
delete dimension disassemble display
divi downcase encode evalInSyncLocalContext
exit exp exportCsv exportSbf
exportTab expt fact fdisplay
fileClose fileCopy fileDisplay fileErase
fileOpen fileReadRecord fileRead fileResize
fileSeek fileWrite filewriteln findBlock
find floor fraction freeBlock
gc gcd getGlobalValue getRecursionCount
getSymbolTable getTickCount globalBinding hashString
hour iadd icompareEQ icompareGE
icompareGT icompareLE icompareLT icompareNE
idiv imaginary imod importCsv
importSbf importTab imul insertRows
insert inside inspect integer
isAtom isBitVector isBoolean isBound
isByteVector isCharAlphabetic isCharAlphanumeric isCharLowercase
isCharName isCharNumeric isCharUppercase isCharWhitespace
isChar isCharacter isComplex isDate
isDictionary isDirectory isEqual isError
isEven isExact isFloatVector isIdentical
isInexact isInside isIntegerVector isInteger
isLambda isMatrix isMember isMoney
isNegative isNull isNumberMatrix isNumberVector
isNumber isObjectVector isObject isOdd
isPair isPcodeVector isPositive isString
isStructure isSymbol isText isType
isVector isZero isub julian
kurtosis lcm left length
list lock log10 log2
log logbase macroReplace makeQuotedList
makeQuotedSymbol max median member
methodsOf mid min minute
mod modi money month
muli nadd ncompareEQ ncompareGE
ncompareGT ncompareLE ncompareLT ncompareNE
ndiv new nmod nmul
now nsub number objectToMatrix
objectToNumMatrix objectToNumVector offset openLog
pair parent parse pi
pointer preAllocateFixedMemoryBlocks product proplist
proprecord putprop qt rad
random randomize range rank
real refAttributes refValues ref
remProp remove rename replace
rept resize right round
saveObject saveRepository second setAttributes
setBlock setCar setCdr setLastCdr
set setf setq sigmoid
sign sin sinh sizeof
skew sleep sort sql
sqrt srandom stdev stdevp
string sub1 subi submit
substitute substring sum sumsqr
svmRegression symbolToTypeCode symbol system
tan tanh text time
type uniqueInsert unlock var
varp vectorBinaryInnerProduct vectorBipolarInnerProduct vectorCosineInnerProduct
vectorCubeInnerProduct vectorDelete vectorExpInnerProduct vectorFill
vectorInnerProduct vectorLogInnerProduct vectorQuartInnerProduct vectorQuintInnerProduct
vectorSigmoidInnerProduct vectorSineInnerProduct vectorSquareInnerProduct vectorTanInnerProduct
vectorTanhInnerProduct writelg writeln year

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE