33
44< head >
55< title > DunoCode Manual </ title >
6- < link rel ="icon " href ="https://drive.google.com/uc?export=view&id=1yG1W11r0Rne9MlYlRVy3KV23VO-RmHHh " >
6+ < link rel ="icon " href ="https://dunocode.altervista.org/wp-content/uploads/2024/03/cropped-duno-192x192.png " >
77< meta charset ="UTF-8 " />
88
99
1313 var cronologia = [ "presentazione" ] ;
1414 var indiceCrono = - 1 ;
1515 var indiceRicerca = 0 ;
16+ var menuEvidenziato = "" ;
1617
1718 var elencoDir = [ "#" , "adddays" , "align" , "ascii" , "audiorec" , "battery" , "break" , "browser" , "calc" , "call" , "canc" , "case" , "chop" , "chr" , "clipboardev" , "close" , "clr" , "col" , "command" , "copy" , "count" , "datediff" , "decimal" , "diagon" , "dialog" , "diff" , "draw" , "drive" , "else" , "end" , "endfunct" , "endif" , "exit" , "filecopy" , "filedel" , "fileevent" , "fileinfo" , "fileread" , "filerename" , "filewrite" , "folder" , "fromclipboard" , "funct" , "getlines" , "ifdate" , "ifeq" , "ifequiv" , "ifexists" , "iffloat" , "iffocus" , "ifincluded" , "ifint" , "ifleap" , "ifmaj" , "ifmin" , "ifstring" , "imgfromlist" , "indexof" , "insert" , "keep" , "lastindexof" , "launch" , "lbl" , "lcase" , "len" , "likeform" , "listafter" , "listat" , "listchop" , "listcompare" , "listedit" , "listextract" , "listfilter" , "listfrom" , "listfuse" , "listgroup" , "listindex" , "listinsert" , "listjoin" , "listmatch" , "listmax" , "listmid" , "listremitems" , "listremove" , "listsort" , "listsum" , "listswap" , "listtotable" , "math" , "mem" , "midstring" , "mod" , "network" , "next" , "nextchars" , "nextitem" , "nextrow" , "nextval" , "no" , "notes" , "notify" , "now" , "numbox" , "ofweek" , "older" , "oneof" , "osversion" , "pathup" , "pcname" , "picker" , "pixlist" , "playwav" , "pow" , "prg" , "print" , "progress" , "qs" , "random" , "remove" , "repeat" , "replace" , "replaceline" , "replfirst" , "report" , "reverse" , "right" , "round" , "screenshot" , "screensize" , "sel_every" , "sel_join" , "sel_search" , "select" , "speak" , "sqrt" , "subdir" , "substring" , "text" , "thispath" , "tiletext" , "time" , "tohex" , "toprinter" , "trim" , "ucase" , "wait" , "window" , "word" , "xwingeometry" ] ;
1819
2122 alert ( "File translated with GOOGLE !" ) ;
2223 var x = document . getElementById ( "elenco" ) ;
2324 var option = document . createElement ( "option" ) ;
24- option . text = "Directive list" ;
25+ option . text = "Directives list" ;
2526 x . add ( option ) ;
2627 for ( it = 0 ; it < elencoDir . length ; it ++ ) {
2728 option = document . createElement ( "option" ) ;
4142
4243 }
4344
44- function vai ( ID ) {
45- spostaCerchio ( ID ) ;
45+ function vai ( ID , evidz = 0 ) {
4646 document . getElementById ( mostrato ) . style . display = "none" ;
4747 togliEvidenziazione ( ) ;
4848 mostrato = ID ;
4949 document . getElementById ( ID ) . style . display = "inline" ;
50+ if ( menuEvidenziato != "" ) {
51+ document . getElementById ( menuEvidenziato ) . style . backgroundColor = "#f5f6f7" ;
52+ }
53+ if ( evidz == 1 ) {
54+ document . getElementById ( ID + "_" ) . style . backgroundColor = "#96aac8" ;
55+ menuEvidenziato = ID + "_" ;
56+ }
5057 indiceCrono ++ ;
51- cronologia . splice ( indiceCrono , 0 , ID ) ;
52-
53-
58+ cronologia . splice ( indiceCrono , 0 , ID ) ;
5459 }
5560
56- function spostaCerchio ( ID ) {
57- var posC = 486 ;
58- if ( ID == "caratteristiche" ) { posC = 1 ; }
59- else if ( ID == "basi" ) { posC = 29 ; }
60- else if ( ID == "errori" ) { posC = 57 ; }
61- else if ( ID == "controllo" ) { posC = 85 ; }
62- else if ( ID == "output" ) { posC = 113 ; }
63- else if ( ID == "variabilinterne" ) { posC = 141 ; }
64- else if ( ID == "variabili" ) { posC = 169 ; }
65- else if ( ID == "liste" ) { posC = 197 ; }
66- else if ( ID == "condizioni" ) { posC = 225 ; }
67- else if ( ID == "routine" ) { posC = 253 ; }
68- else if ( ID == "annidamenti" ) { posC = 281 ; }
69- else if ( ID == "cicli" ) { posC = 309 ; }
70- else if ( ID == "alias" ) { posC = 337 ; }
71- else if ( ID == "ritroso" ) { posC = 365 ; }
72- else if ( ID == "codiceesterno" ) { posC = 393 ; }
73- else if ( ID == "jsbash" ) { posC = 421 ; }
74- else if ( ID == "grafiche" ) { posC = 449 ; }
75- else if ( ID == "contatti" ) { posC = 477 ; }
76-
77- document . getElementById ( "cerkio" ) . style . top = posC + "px" ;
78- }
7961
8062 function backk_Click ( ) {
8163 togliEvidenziazione ( ) ;
8567 document . getElementById ( mostrato ) . style . display = "none" ;
8668 mostrato = id ;
8769 document . getElementById ( id ) . style . display = "inline" ;
88- spostaCerchio ( id ) ;
8970}
9071
9172 function forww_Click ( ) {
9677 document . getElementById ( mostrato ) . style . display = "none" ;
9778 mostrato = id ;
9879 document . getElementById ( id ) . style . display = "inline" ;
99- spostaCerchio ( id ) ;
10080}
10181
10282
153133 tx = tx . toLowerCase ( ) ;
154134 let p = "" ;
155135 let altri = "" ;
136+ for ( i = 0 ; i < elencoDir . length ; i ++ ) {
137+ if ( elencoDir [ i ] == tx ) { p = tx ; }
138+ }
156139 for ( i = 0 ; i < elencoDir . length ; i ++ ) {
157140 if ( elencoDir [ i ] . indexOf ( tx ) > - 1 ) {
158141 if ( p == "" ) { p = elencoDir [ i ] ; }
159- else { altri += elencoDir [ i ] + " " ; }
160-
142+ else { altri += elencoDir [ i ] + " " ; }
161143 }
162- }
144+ }
163145 p = p . replace ( "#" , "ash" ) ;
164146 p = p . replace ( "_" , "" ) ;
165147 if ( p != "" ) { vai ( p ) ; document . getElementById ( "cerca" ) . value = altri ; } ;
166148
167149}
168150
151+ function cancLine ( ) { document . getElementById ( "cerca" ) . value = "" ; }
152+
169153function togliEvidenziazione ( ) {
170154 document . getElementById ( mostrato ) . innerHTML = document . getElementById ( mostrato ) . innerHTML . replace ( "<szn>" , "" ) ;
171155 document . getElementById ( mostrato ) . innerHTML = document . getElementById ( mostrato ) . innerHTML . replace ( "</szn>" , "" ) ;
185169
186170< style >
187171
188- body {background-color : # ddfdf0 ;}
189- esempi {color : # AE268B ;}
172+ body {background-color : # f5f6f7 ;}
173+ esempi {color : # c8288c ;}
190174rosso {color : red; font-style : italic;}
191175verde {color : # 007800 ;font-weight : 500 ;}
192176vi {color : orange; font-weight : bold; cursor : pointer;}
193177szn {background-color : cyan;}
194- label {cursor : pointer; color : blue;}
195- .viste {position : absolute; top : 80px ; left : 270px ; border : solid 1px ; background-color : # f0fddd ; font-size : 16px ;border-radius : 12px ;display : none;padding : 3px ;}
196- # lineaBottoni {position : absolute; top : 70px ; left : 270px ;}
197- # presentazione {position : absolute; top : 85px ; left : 270px ; height : 400px ; width : 720px ;border : solid 1px ;border-radius : 10px ; background-color : RGB (0 , 0 , 0 ); color : RGB (125 , 219 , 227 ); font-family : monospace; font-size : 16px ; font-weight : bold;padding : 8px ;}
198- # intestazione {position : absolute; top : 1px ; left : 450px ; color : red; font-style : italic;}
199- # sommario {position : absolute; top : 20px ; left : 10px ; width : 240px ; height : 556px ; border : solid 2px ;border-radius : 10px ; border-color : # 007400 ;font-size : 17px ;background-color : # f0fddd ; }
200- select {font-size : 18px ; color : blue;}}
201-
178+ label {cursor : pointer; color : # 324696 ; font-weight : 550 ;}
179+ .meunIt {position : absolute; height : 15px ; border : 1px ; border-color : # f5f6f7 ; border-radius : 8px ; padding : 2px ;}
180+ .viste {position : absolute; top : 95px ; left : 260px ; background-color : # fdfdfd ; font-size : 16px ; display : none; padding : 3px ;border : solid 0px ;border-radius : 8px }
181+ # lineaBottoni {position : absolute; top : 70px ; left : 90px ;}
182+ # presentazione {position : absolute; top : 95px ; left : 260px ; height : 400px ; width : 720px ;border : solid 1px ; background-color : RGB (0 , 0 , 0 ); color : RGB (125 , 219 , 227 ); font-family : monospace; font-size : 16px ; font-weight : bold;padding : 8px ;}
183+ # intestazione {position : absolute; top : 1px ; left : 440px ; color : red; font-style : italic;}
184+ # sommario {position : absolute; top : 95px ; left : 8px ; width : 240px ; height : 556px ; font-size : 16px ; font-family : courier; background-color : # f5f6f7 ;margin : 3px ; }
185+ select {font-size : 18px ; color : blue;}
186+ button { background-color : # f6f7f8 ; border-radius : 8px ;}
202187</ style >
203188
204189
209194< h2 id ="intestazione "> DunoCode 3.04 (LINUX)</ h2 >
210195
211196< div id ="sommario ">
197+ < br >
198+ < label id = "caratteristiche_ " class ="meunIt " onclick ="vai('caratteristiche', 1) "> Characteristics</ label > < br >
199+ < label id = "basi_ " class ="meunIt " onclick ="vai('basi',1) "> Basics of language</ label > < br >
200+ < label id = "errori_ " class = "meunIt " onclick ="vai('errori',1) "> Errors</ label > < br >
201+ < label id = "controllo_ " class = "meunIt " onclick ="vai('controllo',1) "> Control character</ label > < br >
202+ < label id = "output_ " class = "meunIt " onclick ="vai('output',1) "> Output and debug</ label > < br >
203+ < label id = "variabilinterne_ " class = "meunIt " onclick ="vai('variabilinterne',1) "> Internal variabiles</ label > < br >
204+ < label id = "variabili_ " class = "meunIt " onclick ="vai('variabili',1) "> Variabiles</ label > < br >
205+ < label id = "liste_ " class = "meunIt " onclick ="vai('liste', 1) "> Lists</ label > < br >
206+ < label id = "condizioni_ " class = "meunIt " onclick ="vai('condizioni',1) "> Conditions</ label > < br >
207+ < label id = "routine_ " class = "meunIt " onclick ="vai('routine',1) "> Routine</ label > < br >
208+ < label id = "annidamenti_ " class = "meunIt " onclick ="vai('annidamenti',1) "> Nesting</ label > < br >
209+ < label id = "cicli_ " class = "meunIt " onclick ="vai('cicli',1) "> Loops</ label > < br >
210+ < label id = "alias_ " class = "meunIt " onclick ="vai('alias',1) "> Alias</ label > < br >
211+ < label id = "ritroso_ " class = "meunIt " onclick ="vai('ritroso',1) "> Back script</ label > < br >
212+ < label id = "codiceesterno_ " class = "meunIt " onclick ="vai('codiceesterno',1) "> External code</ label > < br >
213+ < label id = "jsbash_ " class = "meunIt " onclick ="vai('jsbash',1) "> Javascript, Bash</ label > < br >
214+ < label id = "grafiche_ " class = "meunIt " onclick ="vai('grafiche',1) "> Graphics</ label > < br >
215+ < label id = "contatti_ " class = "meunIt " onclick ="vai('contatti',1) "> How to...</ label > < br > < br >
216+ < select id ="elenco " size ="0 " onchange ="cambia() " > Directives list</ select >
212217
213- < label style ="position:absolute; top:1px; " onclick ="vai('caratteristiche') "> Characteristics</ label > < br > < br >
214- < label style ="position:absolute; top:29px; " onclick ="vai('basi') "> Basics of language</ label > < br > < br >
215- < label style ="position:absolute; top:57px; " onclick ="vai('errori') "> Errors</ label > < br >
216- < label style ="position:absolute; top:85px; " onclick ="vai('controllo') "> Control character</ label > < br >
217- < label style ="position:absolute; top:113px; " onclick ="vai('output') "> Output and dubug</ label > < br >
218- < label style ="position:absolute; top:141px; " onclick ="vai('variabilinterne') "> Internal variabiles</ label > < br >
219- < label style ="position:absolute; top:169px; " onclick ="vai('variabili') "> Variabiles</ label > < br >
220- < label style ="position:absolute; top:197px; " onclick ="vai('liste') "> Lists</ label > < br >
221- < label style ="position:absolute; top:225px; " onclick ="vai('condizioni') "> Conditions</ label > < br >
222- < label style ="position:absolute; top:253px; " onclick ="vai('routine') "> Routine</ label > < br >
223- < label style ="position:absolute; top:281px; " onclick ="vai('annidamenti') "> Nestings</ label > < br >
224- < label style ="position:absolute; top:309px; " onclick ="vai('cicli') "> Loops</ label > < br >
225- < label style ="position:absolute; top:337px; " onclick ="vai('alias') "> Alias</ label > < br >
226- < label style ="position:absolute; top:365px; " onclick ="vai('ritroso') "> Back script</ label > < br >
227- < label style ="position:absolute; top:393px; " onclick ="vai('codiceesterno') "> External code</ label > < br >
228- < label style ="position:absolute; top:421px; " onclick ="vai('jsbash') "> Javascript, Bash</ label > < br >
229- < label style ="position:absolute; top:449px; " onclick ="vai('grafiche') "> Graphics</ label > < br >
230- < label style ="position:absolute; top:477px; " onclick ="vai('contatti') "> How to...</ label > < br > < br >
231- < select style ="position:absolute; top:515px; " id ="elenco " size ="0 " onchange ="cambia() " > Elenco Direttive</ select >
232- < div id ="cerkio " style ="position:absolute; top:458px; left:220px; width:16px; height:16px; background-color:#ffff00; border:solid 1px; border-radius:10px; " > </ div >
233218</ div >
234219
235220< div id = "lineaBottoni ">
236- < button onclick ="backk_Click() " > <</ button >
237- < button onclick ="forww_Click() " > ></ button >
238-
239- < button onclick ="prossimo(1) "> Next directive</ button >
240- < button onclick ="prossimo(-1) "> Previous directive</ button >
241- < input type ="text " id ="cerca " placeholder ="Find word " ondblClick ="goSelez() " >
242- < button onClick ="trova(0) "> Find next</ button >
243- < button onClick ="trovaFunc() "> Find directive</ button >
221+ < button style ="border-radius: 0px; " onclick ="backk_Click() " > <</ button >
222+ < button style ="border-radius: 0px; " onclick ="forww_Click() " > ></ button >
223+
224+ < button onclick ="prossimo(1) "> Next function</ button >
225+ < button onclick ="prossimo(-1) "> Previous function</ button >
226+ < input type ="text " style ="height:18px; background-color:#f6f7f8; " id ="cerca " placeholder ="Cerca " ondblClick ="goSelez() " >
227+ < button onClick ="trova(0) "> 🔍Word</ button >
228+ < button onClick ="trovaFunc() "> 🔍Function</ button >
229+ < button onClick ="cancLine() "> < b > X</ b > </ button >
244230</ div >
245231
246232< pre id ="presentazione " >
@@ -249,7 +235,7 @@ <h2 id="intestazione">DunoCode 3.04 (LINUX)</h2>
249235Print >\tx\
250236End >
251237
252- DunoCode : a fantastic scripting language...< button onclick ="vai('caratteristiche') "> ...</ button >
238+ DunoCode : a fantastic scripting language...< button style =" border-radius:0px " onclick ="vai('caratteristiche') "> ...</ button >
253239</ pre >
254240
255241< pre id ="caratteristiche " class ="viste ">
@@ -839,12 +825,17 @@ <h2 id="intestazione">DunoCode 3.04 (LINUX)</h2>
839825Performs calculation on the passed expression.
840826Accepts round, square and curly brackets, as long as the parentheses
841827are at the top level contain those of low level.
828+ Accepts operations + - * / %.
842829< esempi >
843830M = numbox>Enter sum
844- P = numbox>Ins. percentage to be separated
831+ P = numbox>Percentage to be separated
845832R = calc>\M\*100/(100+\P\)
846833notes>Amount separated \R\
847834</ esempi >
835+ ---
836+ < esempi >
837+ show = calc>1500*20% + 50
838+ </ esempi >
848839</ pre >
849840
850841< pre id ="call " class ="viste ">
0 commit comments