| |
|
|
- Page 1 - |
|
HofK | Importent Info! The subesquent Posts relating itself on ursprüngliche versions of AndroidProfan/Infinity-Profan from the year 2015 and are so with regard to content/syntaktisch antiquated and accordingly not run. (15.01.2016)
_____________________________________________________________
Musste simply time dry testing, How AndroidProfan - new name Infinity-Profan - itself so coded. In of my Programmiersteinzeit durfte I in tidy large Druckbuchstaben one Programmformular describe. And then to persönlicher submitted one, two days on The long gedruckte Fehlerliste Waiting. The Steinzeitheimwerker mussten indeed with 'nem Faustkeil cope.
now integrally soft typed and by network in any world common. time see, what nowadys so zurückkommt.
first local: tidy tabuliert (comes in the Codebox not fully rüber) is the clear. might me saponaceous so make friends and if need be on The Beginner api dispense.
Update: See IF-Fehlerfindung under, but well still bestanden? so itself Error not get around, have I tappt im dunkeln markiert and correct. the Pi sooo long is - hereon entrapment I guaranteeing again mere.
The colours I had aware time rgb() and times as Konstanten in Internetfarben #hexhexhex indicated. moreover I had yet nothing näheres discover or overlooking ($ Notation). would be but useful, The HTML- Notation optional benefit to.
Update: code null there The Syntax for gui changed watts is the code null. becomes soon on the actually stood brought. is results, see below.
area of the circle
// Program area of the circle
var headl = "Das first AndroidA Program
var stat = "Status: Kreis"
var kfl = 0.0
var grg = gui( gui.add, gui.grid, gui.hwnd, [3,4] )// GrundRasterGrid
var h_txt = gui( gui.add, gui.Text, grg[2,1], headl )// Textcontrol for Headline settle
var m_txt = gui( gui.add, gui.Text, grg[2,2], kfl )// Textcontrol Hauptzelle
var s_txt = gui( gui.add, gui.Text, grg[2,3], stat )// Textcontrol for internen status
//----------------------------------------------------
gui gui.mod, gui.bgcolor, gui.hwnd, rgb(192,192,192)// primitive colour silver (dezent gray)
gui gui.mod, gui.width, grg, [8,84,8]// Spaltenbreiten prozentual
gui gui.mod, gui.height, grg, [12,70,10,8]// Zeilenhöhen prozentual
gui gui.mod, gui.textcolor, h_txt, rgb(150,191,61)// Headline in androidem green #96bf3d
gui gui.mod, gui.bgcolor, grg[2,2], rgb(255,255,155)// Hauptzelle gelblich
gui gui.mod, gui.bgcolor, grg[2,3], $e7e7e7// Statuszelle hellgrau
gui gui.mod, gui.textcolor, s_txt, rgb(255,0,0)// roter Statustext
msgbox 0,"Radius","Kreisberechnung","OK","1.0",kflaeche// Interaction input
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proc kflaeche(txt)
// wrong: kfl = math.pi*(float(txt))^2
kfl = math(math.pi)*float(txt)^2// corrections IF
// wrong: gui gui.Text, m_txt, "Die area of the circle totals\nA = " + st(kfl)
gui gui.mod, gui.Text, m_txt, "Die area of the circle totals\nA = " + st(kfl)// ... spending
endproc
|
|
|
| |
|
|
|
| |
|
- Page 3 - |
|
HofK |
Error width/height - see under with 08.03.2015
Nachtrag: The Lines 15 To 20 can in the actually version of InfinityProfan end no \ include!
fashion AutoHotKey ( [...] ) is sure the best starting point with of/ one new Language, as they not of/ one vorhandenen very similar is. the Theme is another thing. Fummelt one a little bit into sharing rum, from them The final Regulären expressions formed and be letztendlich over Javascript HTML, CSS span, class manipulating go (überaus komplexes system) can delicacies adjust.
with AutoHotKey was ; for Kommentarzeile voreingestellt, have z.B. // from it made. /// functions too, would but very unüblich.
this.$rules = { start: [ { token: 'comment.line.ahk', regex: '(?:^| )//.*$' }, { token: 'comment.block.ahk', regex: '/\\*', push: [ { token: 'comment.block.ahk', regex: '\\*/', next: 'pop' }, { defaultToken: 'comment.block.ahk' } ] }, ...
for the Kommentarblock have so did i time /# ...abcdefg ... .... hijklmnop #/ probiert - sees nice from, but would like to the really?
too a little bit Codefaltung /* <--> ~~ goes already. moreover must one foldingStartMarker: '^\\s*/\\*|^(?![^{]*?;|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|;|/\\*(?!.*?\\*/.*\\s))', foldingStopMarker: '^\\s*\\*/|^\\s*\\}' } Edit. The actually Changes are each momentarily online. |
|
|
| |
|
|
|
| Klaus Hoffmeister (16.02.15)
The identische Variante, from autohotkey created How supra only instead of Theme monokai now solarized_light. somehow not so motley but dezent and augenschonend. one recognize, that The concrete colours of Theme take down. there must first a Grundsatzentscheidung to that Theme since.
i'd The crazy Mgl., that to the Topic onthefly Change can, thoroughly beibelassen and make supra in that Popupmenü for a Topics-selection. should the User decide which Topic it gladly benefit would like. so müssten We also no concrete colours determine and could us first once mere hereon limit, that the Parser The korrekte Syntax recognize with whom colours too always the Theme equipped is.
what hold You of it? the Pop-Menu can I slight strain, would I php function glob for the Themensuchen use.
class find I the The actually Changes too same Online are so one too same herumprobieren can.
get You it there, that too if end procs gefaltet go? with whom /* rems */ functions the already very yummy. i am pleased correctly. that it with AndroidProfan forth goes. |
|
|
| |
|
|
|
HofK | iF (18.02.15)
get You it there, that too if end procs gefaltet go? with whom /* rems */ functions the already very yummy. i am pleased correctly. that it with AndroidProfan forth goes.
has itself straight überschnitten. Just fixes, that The edit the foldingmarker on my own not ausreicht! must deeper in the system dig.
the Theme wählbar To make is the best Solution! |
|
|
| |
|
|
|
| then building I time with the the Popupmenüthemenauswahloption one. |
|
|
| |
|
|
|
HofK | If ... procs fold ... Have it in principle found [...] below: Adding new folding rules to your fashion can be a little tricky. ... And then comes "harter Stoff" - there must I first reinwühlen. the lasts. |
|
|
| |
|
|
|
| Yes, very, before it try I (yet integrally successful!) To pressing. |
|
|
| |
|
|
|
| so, Have time blanket a Theme-selection installed: [...]
Later becomes The attitude (naturally) too yet with the Benutzeraccount verknüpft instead of as now "nur" in the Session. |
|
|
| |
|
|
| |
|
- Page 4 - |
|
|
HofK | ... folding rules can be a little tricky ... means first something The colours sort. simply the two Files whom editor copy and itself by view /Theme on whom colours rejoice. different mutants probiert, there's a problem with the "Doppelnutzung" of del and sensor. at that Theme Monokai zurück The colours explicit forth. |
|
|
| |
|
|
|
| Ah, too something like wei proc circle(buttonHandle,event) there becomes event colored because it believes the that The Proc is. Oje is a catastrophe the the everything beizubringen. |
|
|
| |
|
|
|
HofK | iF (20.02.15)
Oje is a catastrophe the the everything beizubringen.
The installed functions and Konstanten the Language are Sprachbestandteile. so are The Bezeichner reserved Bezeichner. I can indeed not The Variable var var = 0 define because I var so beautiful find.
on the structure the Highligtings sees one too, that in the integral reserved Bezeichner in groups note go. with whom "Sonderzeichen" becomes it komplizierter.
If it means event reserved gives, must I instead of proc circle(buttonHandle,event) as well as normally proc circle(buttonHandle,e) or proc circle(btnHdl,e) write. proc circle(button,e) went indeed not because it button already gives. ought to it math.e give, does it e neither, but ev and evnt. The Variable e went then neither.
Problematischer see I The Überschneidung of del and sensor inside the Language. |
|
|
| |
|
|
|
HofK | "Webfehler " in the Grid the Kreisberechnung
ups - The Höhen- and Breitenanngaben not fit. they were for a simple Grid g_gr made. After the Änderung with Verschachtelung I had tappt im dunkeln not adjusted. g_gr has Yes only yet three Lines and a slot! the had sure a Error ausgeworfen.
Korrigierte version:
Nachtrag: The Lines 15 To 20 can in the actually version of InfinityProfan end no \ include! |
|
|
| |
|
|
|
HofK | The App Kreisberechnung becomes in the now available Leseprobe [...] (free)
of in work located Infinity-Profan book Kap. 1
accurate under The Lupe taken.
___________________________________________________________
Please Info to antiquated Syntax from 2015 at the beginning the Topic mind! (15.01.2016) |
|
|
| |
|
|