If there is interest this page will some time in the future contain a more complete standard Thelop vocabulary of about 200-250 words (currently about 140). This first portion should give you a taste.
Remember that a procedural O''''''bjectActionProperty(object,property) is considered isomorphic to OO object.A''''''ctionProperty(property) or object.O''''''bjectActionProperty(property). So although the examples are given in a procedural syntax they don't imply a need to use a procedural host language.
Some terms: in a function "S''''''tringFindChrLast" there is a pattern OAOM (object - action - object - modifier). The first object ("String") is also called the '''primary object'''. The second object ("Chr") is also called the '''secondary object'''. The '''parent word''' for a modifier is the preceding word it belongs to (so the parent word for "Last" is "Chr"). Look into ThelopRule''''''s to see how names are built from words.
--HelmutLeitner
----
For questions or discussions: ThelopDictionaryDiscussion
See also: LanguageOrientedProgramming, ThelopLanguage, ThelopRule, ThelopWordClass, ThelopNamePattern, WordSignature, NameSignature, ThelopLanguageFaq, ThelopWordClass
SmallestFederateWiki target
----
----
'''Words alphabetically (138): '''Abs, Add, All, App, Ar, Array, Avg, Body, Button, Cat, Check, Chr, Circle, Class, Clear, Close, Cm, Cmp, Col, Color, Contains, Count, Cpy, Create, Cur, Cursor, Cvt, Cxy, Cxyz, Date, Day, Default, Del, Dialog, Dim, Dir, Double, Down, Draw, Empty, Env, Equ, Err, Exec, Exist, Ext, Factor, Field, File, Find, Flag, Font, Form, Free, Get, Head, Height, Hi, Hide, Hour, Image, In, Inch, Ind, Ins, Join, Left, Len, Limit, List, Lo, Long, Lower, Map, Max, Menu, Mess, Min, Minute, Month, Mouse, Multi, Na, Name, Next, Object, Open, Page, Path, Pause, Pixel, Point, Pos, Prev, Printer, Proj, Ptr, Random, Range, Read, Rect, Rel, Rep, Report, Ret, Right, Row, Save, Screen, Second, Set, Short, Show, Size, Sort, Split, Start, Stop, Str, String, Sum, System, Tail, Text, Time, Timer, Type, Up, Upper, Val, Var, Variant, Volume, Width, Window, Word, Write, Year
----
----
'''Actions (36): '''Add, App, Cat, Check, Clear, Close, Cmp, Contains, Cpy, Create, Cvt, Del, Draw, Empty, Equ, Exec, Exist, Find, Free, Get, Hide, In, Ins, Join, Open, Pause, Read, Rep, Ret, Set, Show, Sort, Split, Start, Stop, Write
----
'''Modifiers (28): '''Abs, All, Ar, Array, Cm, Cur, Default, Down, Factor, Flag, Hi, Inch, Left, Lo, Lower, Max, Min, Multi, Na, Next, Prev, Proj, Range, Rel, Right, Save, Up, Upper
----
'''Objects (46): '''Body, Button, Chr, Circle, Class, Count, Cursor, Date, Dialog, Dir, Double, Env, Ext, Field, File, Font, Form, Head, Image, List, Long, Map, Menu, Mess, Mouse, Object, Page, Path, Pixel, Point, Printer, Ptr, Random, Rect, Report, Screen, Short, Str, String, System, Tail, Text, Timer, Var, Window, Word
----
'''Properties (28): '''Avg, Col, Color, Cxy, Cxyz, Day, Dim, Err, Height, Hour, Ind, Len, Limit, Minute, Month, Name, Pos, Row, Second, Size, Sum, Time, Type, Val, Variant, Volume, Width, Year
----
----
'''Unabbreviated words (94): '''Add, All, Array, Body, Button, Check, Circle, Class, Clear, Close, Color, Contains, Count, Create, Cursor, Date, Day, Default, Dialog, Double, Down, Draw, Empty, Factor, Field, File, Find, Flag, Font, Form, Free, Get, Head, Height, Hide, Hour, Image, In, Inch, Join, Left, Limit, List, Long, Lower, Map, Menu, Minute, Month, Mouse, Name, Next, Object, Open, Page, Path, Pause, Pixel, Point, Printer, Random, Range, Read, Report, Right, Row, Save, Screen, Second, Set, Short, Show, Size, Sort, Split, Start, Stop, String, Sum, System, Tail, Text, Time, Timer, Type, Up, Upper, Variant, Volume, Width, Window, Word, Write, Year
----
'''Abbreviated words (44): '''Abs, App, Ar, Avg, Cat, Chr, Cm, Cmp, Col, Cpy, Cur, Cvt, Cxy, Cxyz, Del, Dim, Dir, Env, Equ, Err, Exec, Exist, Ext, Hi, Ind, Ins, Len, Lo, Max, Mess, Min, Multi, Na, Pos, Prev, Proj, Ptr, Rect, Rel, Rep, Ret, Str, Val, Var
----
'''Abbreviated words (derived from) (44): '''Abs(absolute), App(append), Ar(array), Avg(average), Cat(concatenate), Chr(character), Cm(centimeter), Cmp(compare), Col(column), Cpy(copy), Cur(current), Cvt(convert), Cxy("coordinates x and y"), Cxyz("coordinates x,y and z"), Del(delete), Dim(dimension), Dir(directory), Env(Environment), Equ(equal), Err(error), Exec(execute), Exist(exists), Ext(extension), Hi(high), Ind(index), Ins(insert), Len(length), Lo(low), Max(maximum), Mess(message), Min(minimum), Multi(multiple), Na(name), Pos(position), Prev(previous), Proj(project specific), Ptr(pointer), Rect(rectangle), Rel(relative), Rep(replace), Ret(return), Str(string), Val(value), Var(variable)
----
----
'''Abs''' (modifier, no parameter)
indicates that a parameter for movement or change is absolute (and not relative).
Examples: R''''''ectMoveAbs(rect,x,y) but R''''''ectMoveRel(rect,delta_x,delta_y)
----
'''Add''' (action, no parameters)
represents the binary action of adding the secondary object to the primary object. The primary object is usually some kind of collection.
Examples: F''''''ormAddButton(form,button), L''''''istAddObject(list,object), T''''''reeAddNode(tree,node)
----
'''All''' (modifier, no parameters)
is used in its real world meaning.
On unary actions: extend action to all objects of the primary objects type.
On "Set" action: set all properties of an object.
On binary or ternary actions: repeat action as long as possible.
Examples: W''''''indowCloseAll(),P''''''ointSetAll(point,x,y), S''''''trRepStrAll(string, string_from, string_to), T''''''ableWhereDelRecAll(table,where)
----
'''App''' (action, no parameters)
is used for appending the content of the secondary object to the content of the primary object.
Examples: F''''''ileAppStr(file,string), S''''''trAppStr(string,string2), S''''''trAppChr(string,character)
----
'''Ar''' (modifier, no parameters)
is a slang word that changes the parent object from "single object" to "array of objects". Consider using the unabbreviated word "Array" instead.
Examples: avg=L''''''ongArRetAvg(long_array), O''''''bjectArAddObject(object_array,object), count=W''''''indowGetChildArRetCount(window,window_array)
----
'''Array''' (modifier, no parameters)
changes the parent object from "single object" to "array of objects".
Examples: string_array=T''''''extFileRetStrArray(filename), count=O''''''bjectArrayRetCount(object_array), count=W''''''indowGetParentArrayRetCount(window,window_array)
----
'''Avg''' (property, one parameter)
is used in its real world meaning for the average of some values. The values are often taken from some kind of array or collection.
Examples: L''''''ongArrayGetAvg(array,pAvg)
----
'''Body''' (object, one parameter)
is used for the second part of a head-body or head-body-tail structure.
Examples: body=H''''''tmlTextRetBody(text)
----
'''Button''' (object, one parameter)
is used in its computer world meaning.
Examples: button=B''''''uttonCreateFontTextWidthHeight("Serif","Print",120,40), F''''''ormAddButton(form,button)
----
'''Cat''' (action, no parameters)
is sometimes used as a synonym for "App". Use only with C/C++ as THELOP host language and only for historical reasons.
Examples: S''''''trCat(string,string), S''''''trCatChr(string,character)
Comments: The use of "Cat" is deprecated.
----
'''Check''' (action, no parameter)
is used to check some condition for the primary object. The function return value is boolean.
Examples: bool=D''''''oubleCheckRange(double_value,limit_lo,limit_hi), bool=U''''''rlCheckValid(url)
----
'''Chr''' (object, one character parameter)
is used for single character objects.
Examples: S''''''trFindChr(string,character), character_upper=C''''''hrRetUpper(character), C''''''hrCvtUpper(pCharacter)
----
'''Circle''' (object, one parameter)
is used in its usual geometrical meaning.
Examples: circle=C''''''ircleCreatePointRadius(point,radius), W''''''indowDrawCircle(window,circle), W''''''indowDrawCircleAll(window,point,radius)
----
'''Class''' (object, one parameter)
represents a formal class of the THELOP host language (e.g. in Java).
Examples: O''''''bjectGetClassName(object,pString), C''''''lassHasMethodNa(class,"write")
----
'''Clear''' (action, no parameters)
is used for deleting the content of an object. The object itself is not deleted.
Examples: S''''''creenClear(), S''''''trClear(pString), H''''''ashMapClear(pHashMap)
----
'''Close''' (action, no parameters)
indicates the end of using the primary object.
Examples: W''''''indowClose(window), F''''''ileClose(file), V''''''ideoClose(video)
Comments: Usually the primary object had been previously prepared for use with "Open", and has been used with "Write", "Read", "Show" or "Play". "Close" is a "cleanup" word that implies "Save", so it should tolerate that the primary object isn't open or that it doesn't exist anymore.
----
'''Cm''' (modifier, no parameters)
represents the length unit centimeter.
Examples: cm=I''''''nchRetCm(inch), cm=I''''''mageFindShapeMaxRetWidthCm(image)
----
'''Cmp''' (action, no parameters)
is used to compare two objects. These objects need not be of the same type. If no secondary object word exists, a secondary object of the same type is implied. The function returns an integer value (0=equal, 1=primary object larger -1=secondary object is larger).
Examples: status=S''''''tringCmp(string1,string2), status=F''''''ileCmp(file1,file2)
----
'''Col''' (property, one integer parameter)
is used to index the colums of an two-dimensional object.
Examples: T''''''extScreenCursorGoCol(col), V''''''ariantArRowNaColNaRetVal(array,row,col) E''''''ditorWindowLoadFileRowCol(editor_window,filename,row,col)
----
'''Color''' (property, one color reference)
references a color property. The default colorspace is RGB (may be changed by modifiers like "Gray" or "Mono")
Examples: W''''''indowSetBackgroundColor(window,color), I''''''mageSetPixel(image,x,y,color), W''''''indowDrawLineColor(window,line,color), I''''''mageCvtColorGray(image)
----
'''Contains''' (action, no parameters)
is used for checking whether the secondary object is contained - logically or geometrically - in the primary object. The return parameter of the function is always some kind of boolean value.
Examples: R''''''ectContainsPoint(rect,point), L''''''istContainsObject(list,object)
----
'''Count''' (object, one integer parameter)
is used to indicate that the parent parameter results from counting some kind of objects or events.
Examples: count=T''''''ableRetRecCount(table), S''''''trFindChrGetCount(string,character,pCount), L''''''ongArrayRetCountAboveLimit(array,limit)
----
'''Cpy''' (action, no parameters)
is used for the binary action of copying the secondary object to the primary object. The two objects need not be of the same type (in this case a conversion is done).
Examples: S''''''trCpyChr(string,character), F''''''ileCpyStr(filename,string), F''''''ileCpyUrl(filename,url)
----
'''Create''' (action, no parameters)
indicates that an object is created from dynamic memory (the heap). If there is no garbage collection this object has to be released sooner or later using the corresponding "Free" function.
Examples: image=I''''''mageCreateFile(filename), hashmap=H''''''ashMapCreateSize(101)
----
'''Cur''' (modifier, no parameters)
is used to refer to a current object of the parent word type. The explicit parameter of the parent word is dropped.
Examples: W''''''indowCurClear() versus W''''''indowClear(window)
----
'''Cursor''' (object, no parameters)
is used in its computer world meaning to reference the implicit cursor object of the current display surface.
Examples: C''''''ursorGetPos(pX,pY), C''''''ursorHide()
----
'''Cvt''' (action, no parameters)
is used for converting an object "in situ", without the creation of a new object.
Examples: S''''''trCvtUpper(string), I''''''mageCvtColorGray(image)
----
'''Cxy''' (property, two number parameters)
is used for two coordinate values (x,y).
Examples: P''''''olygonCreateCxyMulti(x1,y1,x2,y2,x3,y3), R''''''ectGetCxyCenter(rect,pX,pY)
----
'''Cxyz''' (property, three numeric parameters)
three coordinate values (x,y,z).
Examples: C''''''ameraMoveCxyz(camera,x,y,z)
----
'''Date''' (object, one parameter)
is used in its real world meaning for the calender day.
Examples: T''''''imeGetDate(time,pDate), year=D''''''ateRetYear(date)
----
'''Day''' (property, one parameter)
is used in its real world meaning.
Examples: days=Y''''''earMonthRetDayCount(year,month), D''''''ateGetYearMonthDay(date,pYear,pMonth,pDay)
----
'''Default''' (modifier, no parameters)
is used to indicate that the parent object parameter is a default value.
Examples: F''''''ileNameSetExtDefault(filename,".txt")
----
'''Del''' (action, no parameters)
is used to remove an object. If used as a binary action: the secondary object or pattern is removed from the primary object (some type of collection).
Examples: S''''''trDelChrAll(string,character), F''''''ileDel(filename)
----
'''Dialog''' (object, one parameter)
is used for an interactive data entry window.
Examples: dialog=D''''''ialogCreateTitelRect(title,rect), P''''''rinterDrawDialog(dialog)
----
'''Dim''' (property, one integer parameter)
is used for the dimension of an array or collection. If the array is resized, its "Dim" property will change. If only partially filled, the number of elements is named "Count".
Examples: dim=A''''''rrayRetDim(array), hashmap=H''''''ashMapCreateDim(101)
----
'''Dir''' (object, one parameter)
is used to refer to the directory part of a filename.
Examples: files=D''''''irRetFileCount(directory), P''''''athSetDir(path,directory)
----
'''Double''' (object, one parameter)
is used for the typical floating point variables.
Examples: D''''''oubleSetStr(pDouble,"127.2"), rdouble=D''''''oubleRangeRetRandomVal(1.2,1.4)
----
'''Down''' (modifier, no parameters)
is used in its real world meaning to indicate the direction of some mobvement or change.
Examples: d=D''''''oubleDecCountRetRoundDown(double,2), C''''''ursorMoveDownLineCount(5)
----
'''Draw''' (action, no or two coordinates)
is used to draw an object on some kind of display surface (screen, window, image, printer). If the secondary object doesn't provide the coordinates for drawing, they are given explicitely.
Examples: W''''''indowDrawCircle(window,circle), P''''''rinterDrawImage(x,y,image), I''''''mageDrawLine(image,line)
----
'''Empty''' (action, no parameter)
is used to check the primary object for valid content different from the default initialization. The function returns a boolean value.
Examples: status=S''''''trEmpty(string), status=I''''''mageRectEmpty(image,rect)
----
'''Env''' (object, no parameters)
is an implicit reference to the application environment.
Examples: val=E''''''nvVarRetVal(variable), E''''''nvVarSetVal(variable,value)
----
'''Equ''' (action, no parameters)
is used to compare to objects. The function return value is "true" if the objects are equal, "false" otherwise. The objects compared need not be of the same type. If they are of the same type, the secondary object word may be dropped.
Examples: S''''''trEqu(str1,str2) instead of S''''''trEquStr(str1,str2),
----
'''Err''' (property, one parameter)
is used for the error status that may be passed from a functions, usually in the form "RetErr".
Examples: ferr=F''''''ileWriteObjectRetErr(file,object)
----
'''Exec''' (action, no parameter)
is used for the execution of some symbolically defined command.
Examples: S''''''ystemExecString("dir *.*"), E''''''ditorExecKey("Key-Alt-F")
----
'''Exist''' (action, no parameter)
is used to check the existence of the primary object. The function returns a boolean value.
Examples: status=F''''''ileExist("backup.dat"), status=M''''''ouseExist()
----
'''Ext''' (object, one string parameter)
is used for the file name extension.
Examples: F''''''ileNameGetExt(filename,pExt), P''''''athSetExtDefault(path,".jpg")
----
'''Factor''' (modifier, one parameter)
is used for a number used for multiplication.
Examples: V''''''ideoWindowSetZoomFactor(video_window,2.0), image=I''''''mageCreateImageSizeFactor(source_image,0.5)
----
'''Field''' (object, one parameter)
is used in its computer world meaning for the input fields within a form or dialog.
Examples: F''''''ormCxyAddField(form,x,y,field), string=F''''''ormFieldNaRetString(form,fieldname)
----
'''File''' (object, one file reference)
is used for a mass storage file.
Examples: file=F''''''ileOpen(filename), F''''''ileSetPos(file,position), F''''''ileWriteChr(file,character), F''''''ileAppLine(filename,string), image=I''''''mageCreateFile(filename)
----
'''Find''' (action, no parameters)
is used to search for an object or a pattern within the primary object. The primary object is usually some kind of collection or array-like data structure.
Examples: pos=S''''''trFindChrRetPos(string,character), file=D''''''irFindFileFirst(directory,filename), ind=S''''''trArrayFindStr(array,string)
----
'''Flag''' (modifier, no parameters)
indicates that the parent property is a boolean value.
Examples: visible=W''''''indowRetVisibleFlag(window)
----
'''Font''' (object, one parameter)
is used in its real world typographical meaning.
Examples: font=F''''''ontCreateNameSizeType("Serif",12,"Bold"), W''''''indowDrawStrFont(Window,x,y,string,font)
----
'''Form''' (object, one parameter)
is used for an interactive data entry window. A synonym for "Dialog".
Examples: form=F''''''ormOpen(formname), F''''''ormClose(form), F''''''ormDelButtonNa(form,button_name)
----
'''Free''' (action, no parameters)
is used to delete an object that was created in dynamical memory.
Examples: I''''''mageFree(pImage), O''''''bjectFree(pObject), H''''''ashMapFree(pHashMap)
Comments: "Free" is a cleanup word that implies "Save", so it should tolerate that the primary object doesn't exist anymore.
----
'''Get''' (action, no parameters)
is used to query one or more properties of the primary object. All object words following "Get" are considered properties of the primary object. The corresponding function parameters are used as output parameters (e.g. ByRef).
Examples: W''''''indowGetTitle(window,pString), R''''''ectGetWidthHeight(rect,pWidth,pHeight)
----
'''Head''' (object, one parameter)
is used for the first part of a head-tail or head-body-tail structure.
Examples: S''''''trFindHeadTailGetBody(string,"",string)
----
'''Height''' (property, one parameter)
is used for the vertical extension (size) of an object.
Examples: I''''''mageGetWidthHeight(image,pWidth,pHeight), W''''''indowSetWidth(window,width)
----
'''Hi''' (modifier, no parameters)
is used for the higher of two alternatives.
Examples: D''''''eviceSetTemperatureLimitHi(device,temp2), nibble=B''''''yteRetNibbleHi(byte)
----
'''Hide''' (action, no parameters)
is used to remove an object (usually from some kind of display surface) and make it invisible.
Examples: C''''''ursorHide(), W''''''indowHideMenu(window)
----
'''Hour''' (property, one parameter)
is used in its real world meaning.
Examples: hour=T''''''imeRetHour(time), T''''''imeGetYearMonthDayHourMinute(time,pYear,pMont,pDay,pHour,pMinute)
----
'''Image''' (object, one object reference)
is used for the digital representation of an 2-dimensional image.
Examples: image=I''''''mageCreateWidthHeightBits(100,100,24), I''''''mageClear(image), I''''''mageRectSetColor(image,rect,color)
----
'''In''' (action, no parameter)
is used for checking whether the primary object is contained - logically or geometrically - in the secondary object. The function return is boolean.
Examples: P''''''ointInCircle(point,circle), D''''''oubleInArray(value,array)
Comments: It is usually better to exchange objects and use the word "Contains".
----
'''Inch''' (modifier, no parameter)
is used in its real world meaning.
Examples: cm=I''''''nchRetCm(inch), C''''''ircleSetRadiusInch(circle,radius)
----
'''Ind''' (property, one integer parameter)
is uses for integer indices into linear arrays or collections. Values of "Ind" always start with 0 and typically end with (Count-1).
Examples: line=A''''''rrayIndRetVal(array,ind), object=O''''''bjectListIndRetObject(list,i)
----
'''Ins''' (action, no parameters)
is used to insert an object or pattern into the primary object at a certain position. The primary object is usually some kind of collection or array-like data structure.
Examples: S''''''trPosInsChr(string,pos,character), D''''''ialogPosInsButtonCxy(dialog,ind,button,x,y)
----
'''Join''' (action, parameters depending on the context)
is used for joining the contents of two objects into one object. The second object is destroyed in this process. This is usually done within the framework of a collection, that manages the objects (otherwise use "App").
Examples: T''''''extLineJoin(text,line)
----
'''Left''' (modifier, no parameters)
is used in its real world meaning to indicate the direction of a change or move.
Examples: E''''''ditorMoveLeftColCount(editor,3), C''''''ursorSetArrowLeft(),
----
'''Len''' (property, one numeric parameter)
is used for the extension of an object or collection. A rather vague word, so consider using more specific words like "Width", "Height", "Dim" or "Count". One traditional use is for the "length" of strings.
Examples: slen=S''''''trRetLen(string)
----
'''Limit''' (property, one parameter)
is used in its real world meaning for some kind of maximum or minimum value. Often used in connection with the modifiers "Hi" or "Lo".
Examples: D''''''eviceSetTemperatureLimitHi(limit), O''''''crSetGlyphPixelLimitLo(limit)
----
'''List''' (object, one parameter)
is used for linear collections of objects.
Examples: list=O''''''bjectListCreateDim(dim), O''''''bjectListAddObject(list,object)
----
'''Lo''' (modifier, no parameters)
is used for to lower of two alternatives (or to the lowest of more alternatives).
Examples: L''''''ongGetByteLo(long,pByte), T''''''reeSetLeaveJoinLimitLo(tree,limit)
----
'''Long''' (object, one parameter)
speaks about a variable or value of type "long integer". Sometimes also used in its real world meaning (see example containing "NameLong").
Examples: sum=L''''''ongArrayRangeRetSum(long_array,0,n-1), err=S''''''trGetLongRetErr(string,pLong), M''''''onthGetNameLong(month,pString)
----
'''Lower''' (modifier, no parameters)
indicates the lower ( smaller, cheaper, ...) of two alternatives. Typically used for "lower case characters" in strings.
Examples: S''''''trCvtLower(string), S''''''trCmpLenLower(str1,str2)
----
'''Map''' (object, one parameter)
is used for collections containing (key,value) pairs.
Examples: hmap=H''''''ashMapCreate(), H''''''ashMapAddKeyObject(hmap,key,object)
----
'''Max''' (modifier, no parameters)
is used for the maximum of values in some kind of array or collection.
Examples: max=A''''''rrayRetValMax(array), max=D''''''oubleMultiRetMax(d1,d2,d3,d4,d5)
----
'''Menu''' (object, one parameter)
is used in its computer world meaning.
Examples: W''''''indowAddMenu(window,menu)
----
'''Mess''' (object, no parameters)
is used to refer to an implicite message object. Depending on the UI the message may open a simple dialog box or just a write a line to the standard output.
Examples: M''''''essShow("Hello User"), M''''''essShowError("File ... Not found")
----
'''Min''' (modifier, no parameters)
is used for the minimum of values in some kind of array or collection.
Examples: A''''''rrayGetValMinValMax(array,pMin,pMax) or simpler A''''''rrayGetMinMax(array,pMin,pMax)
Comments: In the second example the modifiers "Min" and "Max" work as properties.
----
'''Minute''' (property, one integer parameter)
is used in its real world meaning.
Examples: T''''''imeSetHourMinute(time,hour,minute)
----
'''Month''' (property, one integer parameter)
is used in its real world meaning.
Examples: D''''''ateSetYearMonthDay(date,year,month,day), M''''''onthGetNameLong(month,string), days=M''''''onthYearRetDayCount(month,year)
----
'''Mouse''' (object, no parameter)
is used in its computer world meaning. Implies a 2-dimension display surface.
Examples: M''''''ouseExist(), M''''''ouseGetPos(pX,pY)
----
'''Multi''' (modifier, no parameters)
is used to indicates that the parent object parameter may be used more than once. This makes only sense with host languages that allow a variable number of function parameters (e.g. C or Visual BASIC).
Examples: ret=D''''''oubleMultiRetMax(d1,d2,d3,d4,d5), array=T''''''ableWhereItemNaMultiRetArray(table,where,item1,item2,item3)
----
'''Na''' (modifier, no parameters)
is a slang synonym to the "Name" modifier. "Na" changes the parent object parameter type to "string".
Examples: F''''''ileNaDel(filename), V''''''ariantArrayRowColNaSetStr(array,row,colname,string)
Comments: "Na" is sometimes clearer than "Name" because "Na" never works as a property with a parameter of its own.
----
'''Name''' (property, one string parameter)
is used for the name of an object. As a modifier: changes the parent object parameter type to "string".
Examples: username=S''''''ystemRetUserName(), B''''''uttonSetName(button,"BUTTON_PRINT")
----
'''Next''' (modifier, no parameter)
is used in its real world meaning. Usually this implies some kind of array or collection and a current position that is maintained within the primary object.
Examples: D''''''ocumentGoPageNext(document), entry=I''''''ndexFindEntryNext(index)
----
'''Object''' (object, one parameter)
references a formal object of the THELOP host language.
Examples: classname=O''''''bjectRetClassName(object), O''''''bjectFree(object)
----
'''Open''' (action, no parameters)
is used to prepare an object for IO activities.
Examples: file=F''''''ileOpenName("test.dat"), window=I''''''mageWindowOpen("splash.gif"),
Comments: Usually an object that is opened also needs a "Close" action sooner or later.
----
'''Page''' (object, one parameter)
is used for all kinds of physical or logical pages. Usually in connection with some kind of text processing.
Examples: pages=D''''''ocumentRetPageCount(document), P''''''rinterGetPageHeightCm(pHeight)
----
'''Path''' (object, one string parameter)
is used for the complete specification of a file name.
Examples: P''''''athGetDirFileExt(path,pDir,pFile,pExt), P''''''athSetExtDefault(path,".TXT")
----
'''Pause''' (action, no parameters)
is used to stop a process temporarily. Usually in the context of playing some audio, video or animation content.
Examples: A''''''udioPause(audio), V''''''ideoCurPause()
----
'''Pixel''' (object, two coordinates, one color parameter)
is used in its computer world meaning for the smallest unit of a digital image.
Examples: I''''''mageSetPixel(image,x,y,color), color_gray=I''''''mageRetPixelGray(image,x,y)
----
'''Point''' (object, one parameter)
is used in its geometrical meaning. Usually a point in 2-dimensional coordinate space.
Examples: R''''''ectSetPointCenter(rect,point), P''''''ointInCircle(point,circle)
----
'''Pos''' (property, one or more coordinates)
is used to reference the position within an object. The number of parameters correspond to the number of dimensions that are connected with the primary object.
Examples: F''''''ilePosSizeLock(file,pos,size), M''''''ouseGetPos(pX,pY)
----
'''Prev''' (modifier, no parameters)
is used in its real world meaning. Usually this implies some kind of array or collection and a current position that is maintained within the primary object.
Examples: D''''''ialogGoFieldNext(dialog), entry=I''''''ndexFindEntryPrev(index)
----
'''Printer''' (object, no parameter)
is used for the implicit reference of the default printer object. Implies a 2-dimensional display surface.
Examples: P''''''rinterOpen(), P''''''rinterDrawImageNa(x,y,"picture.jpg")
----
'''Proj''' (modifier, no parameters)
is used as a global modifier to indicate that the function is a specialized, project specific version of a general function of the same base name (without the "Proj" modifier).
Examples: pos=S''''''tringFindWordRetPosProj(text,word)
Comments: E.g. the rules for defining words may differ from project to project (legal characters, separators, ...).
----
'''Ptr''' (object, one parameter)
is used for low level memory addresses that some programming languages (like C) provide.
Examples: ptr=P''''''trSizeFindChrRetPtr(buf,bufsize,character), ptr=P''''''trCreateSize(size), P''''''trFree(pPtr)
----
'''Random''' (object, no parameter)
is used to refer to an implicit random generator object.
Examples: rval=R''''''andomDoubleRangeRetVal(-10,+10), rlong=R''''''andomRetLong()
----
'''Range''' (modifier, one additional parameter)
is used to double the parent word parameter to form a value range.
Examples: dice=R''''''andomIntRangeRetVal(1,6), A''''''rrayIndRangeSort(array,0,count-1)
----
'''Read''' (action, no parameters)
is used for reading some content from the primary object.
Examples: character=F''''''ilePosReadChr(file,pos), string=T''''''extFileReadLine(file)
----
'''Rect''' (object, one parameter)
is used for rectangle objects.
Examples: W''''''indowSetRect(window,rectangle), R''''''ectSetWidthHeigth(rect,width,height)
----
'''Rel''' (modifier, no parameter)
is used to indicate that a move or change is relative (and not absolute).
Examples: W''''''indowMoveRel(window,delta_x,delta_y)
----
'''Rep''' (action, doubles the secondary object parameters)
is used for replacing an object or pattern within the primary object.
Examples: S''''''trRepChr(string,c1,c2), T''''''extRepString(text,string1,string2)
----
'''Report''' (object, one parameter)
is used in its computer world meaning for a printout (usually from a database).
Examples: report=R''''''eportOpen(reportname), R''''''eportClose(report)
----
'''Ret''' (action, no parameters)
is used to access a single property of the primary object. The value of the property is passed as function return value.
Examples: size=F''''''ileRetSize(file), point=I''''''mageFindGlyphRetPoint(image)
----
'''Right''' (modifier, no parameters)
is used in its real world meaning to indicate the direction of a change or move.
Examples: D''''''ialogMoveRight(dialog), W''''''indowMoveRight(window,50)
----
'''Row''' (property, one integer parameter)
is used for the vertical coordinate of some 2-dimensional container objects (e.g. screen, spreadsheet, 2-dimensional arrays).
Examples: rows=S''''''creenRetRowCount(), C''''''hessBoardRowColClear(board,row,col)
----
'''Save''' (modifier, no parameters)
is a global modifier that indicates that the function checks all parameters to be valid. So one may savely call the function with any kind of "NULL" (null, nul, 0) object references.
Examples: W''''''indowCloseSave(window_0), S''''''trClearSave(str_NULL), H''''''ashMapAddKeyObjectSave(hashmap,key,hashmap_null)
Comments: All cleanup words (like "Free" or "Close") automatically imply "Save".
----
'''Screen''' (object, no parameters)
is used as a reference to an implicit text screen object. Implies a 2-dimensional display surface of rows and colums.
Examples: S''''''creenClear(), S''''''creenGetWidthHeight(pWidth,pHeight), S''''''creenRowColSetChrLen(5,0,"=",80)
----
'''Second''' (property, one parameter)
is used in its real world meaning.
Examples: T''''''imeGetHourMinuteSecond(time,pHour,pMinute,pSecond)
----
'''Set''' (action, no parameters)
is used to change the properties of an object. All object words following "Set" are considered properties of the primary object. More than one property may be changed using one function call.
Examples: W''''''indowSetTitel(window,title), R''''''ectSetWidthHeight(rect,width,height)
----
'''Short''' (object, one parameter)
speaks about a variable or value of type "short integer", typically containing 16 bits. Sometimes also used in its real world meaning (see example containing "NameShort").
Examples: S''''''hortGetByteLoByteHi(short,pByteLo,pByteHi), M''''''onthGetNameShort(month,pString)
----
'''Show''' (action, no parameters)
is used to display an object on a display surface. This implies - different to "Draw" - that this action can be undone, e.g. automatically or by an explicit "Hide" action.
Examples: M''''''essShow(string), C''''''ursorShow(), W''''''indowShowMenu(window)
----
'''Size''' (property, one numeric parameter)
is used for the size of an object measured in bytes. Sometimes also used in the real world meaning (consider to use more specific words like "Width", "Height", "Area", or "Volume" instead).
Examples: fsize=F''''''ileNaRetSize(filename), font=F''''''ontCreateNameSize("Serif",12)
----
'''Sort''' (action, no parameter)
is used for sorting some kind of array or collection.
Examples: D''''''oubleArraySortDown(array), F''''''ileListSortSizeUp(list)
----
'''Split''' (action, parameters not specified)
is used for splitting the content of one object into two objects. This is usually done within the framework of some kind of collection that manages the objects.
Examples: T''''''reeNodeSplit(tree,node)
----
'''Start''' (action, no parameters)
is used for activities that run by themselves after being started. Usually such object have a "Pause" and "Stop" action too (animations, audios, videos ...).
Examples: video=V''''''ideoStart("demo.avi")
----
'''Stop''' (action, no parameters)
is used for stopping an ongoing activity (that was typically started with "Start").
Examples: A''''''udioStop(audio), V''''''ideoStopAll()
----
'''Str''' (object, one string reference)
references a multi-character string variable. Depending on the host programming language (e.g. in Java) the word "String" may be used as synonym.
Examples: S''''''trClear(string), S''''''trCpy(string,source_string), F''''''ileAppStr(filename,string)
----
'''String''' (object, one parameter)
is used for multi-character text strings. May be used instead of "Str", depending on what data type the host language provides.
Examples: S''''''tringClear(string), F''''''ileNaCreateStringSave(filename,U''''''rlRetString(url))
----
'''Sum''' (property, one parameter)
is used in its real world meaning.
Examples: sum=D''''''irRetFileSizeSum(dir), sum=D''''''oubleArRangeRetSum(array,ind1,ind2)
----
'''System''' (object, no parameters)
is used to refer to the implicit operating system object.
Examples: time=S''''''ystemRetTime(), S''''''ystemGetVersion(pString)
----
'''Tail''' (object, one parameter)
is used for the last part of a logical head-tail or head-body-tail structure.
Examples: S''''''trFindHeadTailGetBody(string,"",string)
----
'''Text''' (object, one parameter)
is used for an object that is able to hold a variable number of strings (lines) of variable length. Typically there should be no limits to both.
Examples: text=F''''''ileNaRetText("source.cpp"), T''''''extLineColInsStr(text,10,0,string)
----
'''Time''' (property, one parameter)
is used in its real world meaning for the complete and continuous dimension of time.
Examples: T''''''imeSetYearMonthDayHourMinuteSecond(time, year,month,day,hour,minute,second)
----
'''Timer''' (object, no parameter)
is used to reference a maximum resolution timer object.
Examples: count=T''''''imerRetCount(), seconds=T''''''imerCountDeltaRetSecond(count2-count1)
----
'''Type''' (property, one parameter)
is used for properties that are used to classify objects into logical subclasses. A vague and object specific word.
Examples: D''''''bTableItemGetType(database,table,item,pType), V''''''arSetType(variable,"double")
----
'''Up''' (modifier, no parameters)
is used in its real world meaning to indicate the direction of a movement or change.
Examples: E''''''ditorWindowMoveUpCount(editor_window,5), D''''''oubleCvtRoundUp(double)
----
'''Upper''' (modifier, no parameters)
is used to indicate the higher (bigger) of two alternatives. Often used in the context of string objects to indicate "upper case characters".
Examples: S''''''trCvtUpper(string), S''''''trEquUpper(string1,string2)
----
'''Val''' (property, one parameter)
is used for general "value" properties. No data type is specified.
Examples: K''''''nowVarGetVal(variable,pValue), A''''''rrayRowColRetVal(array,row,col)
----
'''Var''' (object, one parameter)
is used for general "variable" objects. Usually these variables are referenced by their names and are held in some kind of configuration file, registry, environment or knowledge base.
Examples: V''''''arSetVal(variable,value), value=E''''''nvVarRetVal(variable)
----
'''Variant''' (property, one parameter)
is used to refer to the Visual BASIC data type "Variant".
Examples: string=V''''''ariantRetStrSave(variant), status=V''''''ariantEmpty(variant), S''''''tringAppVariantSave(string,variant), T''''''ableGetVariantArray(table,array)
----
'''Volume''' (property, one parameter)
is used in its real world geometrical meaning. Sometimes also used for the volume of sound.
Examples: S''''''ystemSetVolume(200), volume=C''''''ircleHeightRetVolume(circle,height)
----
'''Width''' (property, one parameter)
is used in its real world meaning for the horizontal extension (size) of an object.
Examples: W''''''indowGetWidth(window,pWidth), R''''''ectGetWidthHeight(rect,pWidth,pHeight)
----
'''Window''' (object, one parameter)
is used in its computer world meaning.
Examples: window=W''''''indowCreateTitleRect("Hello Wiki",rect), W''''''indowDrawImage(window,x,y,Image)
----
'''Word''' (object, one parameter)
is used in its real world meaning for the smallest semantic unit of a natural language.
Examples: pos=S''''''tringFindWordGetLenRetPos(string,"Wiki",pLen), L''''''anguageWordGetMeaning(language,word,pMeaning)
----
'''Write''' (action, no parameters)
is used for writing the content of the secondary object into the primary object.
Examples: F''''''ileWriteStr(file,string), F''''''ilePosWriteMem(file,pos,ptr,size)
----
'''Year''' (property, one integer)
is used in its real world meaning.
Examples: year=T''''''imeRetYear(time), D''''''ateSetYearMonthDay(date,year,month,day)
----
----
See also: LanguageOrientedProgramming, ThelopLanguage, ThelopRule, ThelopNamePattern, WordSignature, NameSignature, ThelopLanguageFaq, ThelopWordClass
----
CategoryThelop