English
Forum & Help

the should still functions... ?!

 
selected Source The Eurer opinion to functions müssten,

But evident not do.

Sozusagen is this one beforehand-Subject to Infinity-Bugs etc.
 
02/19/16  
 




Micha12334

//
// InfinityProfan Program
// functions v0.0.1
// created 2016-01-26
// micha12333
var Text  ="verschiedene background Variationen"
var grid  =gui.grid(gui.hwnd,[4,3])
var Text1 = "   hundreds Opportunities to Darstellung"
var Text2 = "   of Grid's and colours in Infinity Profan."
var Text3 = "Grid 2,3"
var gridX =gui.grid([grid,2,2],[3,3])
var gridY =gui.grid([grid,3,3],[5,5])
var gridZ =gui.grid([gridX,2,2],[3,3])
var gridA =gui.grid([gridZ,2,2],[3,3])
var gridB =gui.grid([grid,4,3],[3,3])
var btn
gui.background(grid,rgb(0,0,255))
gui.background([grid,1,1],rgb(255,255,0))
gui.background([grid,2,2],rgb(255,255,255))
gui.background([grid,3,2],rgb(0,255,0))
gui.background([grid,4,3],rgb(255,0,0))
gui.background([grid,1,2],rgb(90,90,255))
gui.background([grid,2,3],rgb(150,150,150))
gui.Text[grid,2,1] Text1
gui.Text[grid,3,1] Text2
gui.Text[grid,2,3] Text3
gui.Text[grid,1,2] time(7)
gui.background([gridX,1,1],rgb(0,0,0))
gui.background([gridX,1,3],rgb(0,0,0))
gui.background([gridX,2,2],rgb(0,0,0))
gui.background([gridX,3,1],rgb(0,0,0))
gui.background([gridX,3,3],rgb(0,0,0))
gui.background([gridY,1,1],rgb(100,100,100))
gui.background([gridY,3,1],rgb(100,100,100))
gui.background([gridY,5,1],rgb(100,100,100))
gui.background([gridY,2,2],rgb(100,100,100))
gui.background([gridY,4,2],rgb(100,100,100))
gui.background([gridY,1,3],rgb(100,100,100))
gui.background([gridY,3,3],rgb(100,100,100))
gui.background([gridY,5,3],rgb(100,100,100))
gui.background([gridY,2,4],rgb(100,100,100))
gui.background([gridY,4,4],rgb(100,100,100))
gui.background([gridY,1,5],rgb(100,100,100))
gui.background([gridY,3,5],rgb(100,100,100))
gui.background([gridY,5,5],rgb(100,100,100))
gui.background([gridZ,2,2],rgb(0,0,255))
gui.background([gridA,2,2],rgb(255,255,255))
gui.background([gridB,2,2],rgb(0,0,150))
gui.Text[gridB,2,2] msg msg.box,zero,zero,"ENDE",zero,end
// Why appear in grid 2,2 no Box with 'ENDE'?
// What is my grundlegender Error?

proc end (id, data)

    if id == end.touchdown

        msg.box "  AUS UND VORBEI"
        end

    endif

    //end

endproc

 
02/19/16  
 



Hey!

Look I same time.

only as hint: you have <code> written, therefore no Codebox,
for [code] write. have the time in Your Posting korrigiert.
 
02/19/16  
 



Micha12334 (19.02.2016)
// Why appear in grid 2,2 no Box with 'ENDE'?
// What is my grundlegender Error?



gui.Text expects as Parameter lever, Text, [@ProcAddr]
Try time this:

another your Lines understand I however not:

if id == end.touchdown

there end a function is, becomes this How:

if id==ende()["touchdown"] carryed out.

Presumably meant You event.touchdown
 
02/19/16  
 




Micha12334
thanks,
I wunderte me already, that not so klappte....
 
02/19/16  
 




Micha12334
Yes, your idea must so correctly. his.
i'll tommorrow this adjust. well clear, if one 'text' expects
becomes, can I not with of/ one msg come....
thanks again for your fast interfere.
"Das should still functions... ?!" is a guter lane to that solve of small and large Problemen. ( and ende=event is correctly.!)
see you soon time again.....

Michael
 
02/19/16  
 




HofK
an Quelldatei shows to ... & Perform on note 2 Android 4.3 [...]  (so was is virtual)

and note 10.1 Android 4.4 others effect:



- odd The wander ?
 
02/20/16  
 



Durchschaue I not yet so integrally,

shining as if my Berechnung the positions and sizes the Grid-boxes not correctly. functions.

with eachone Bildschirmänderung (Rotation, dissolution) etc. rechne I new - trouble too to Rotation?

sees from as would have You several Grids übereinander laid.
 
02/20/16  
 




HofK
... Rotation changes nothing, View source  [...]  watts a little while ago again parallel on both tools brought.
 
02/20/16  
 




HofK
a hab' I yet:

// Test
var colour1 = rgb 255 0 100
var i = 1 // j=1 k=1 // already with var ... ERROR
var grd1 = gui.grid gui.hwnd [4 4]

// while i<5 // oder // if i==1
// while j<5
gui.background [grd1 2 2] colour1 // [grd1 i j]
// rgb i*16-1 (16-i)*16 k
// k++
// j++
// wend
// j=1
// i++
// wend // or // endif

gui.background and var get on well not. first if too var i = 1 behind // brought becomes, there no ERROR on the note 2.
 
02/20/16  
 




HofK
Micha12334 (19.02.2016)


there are missing sure only crept space behind gui.Text and there geht's too with space.
... [grid 2 1] ...
 
02/20/16  
 




HofK
HofK (20.02.2016)
- odd The wander ?


a little bit rumgetestet, The wander instead of course come only leg note 10.1 Android 4.4 on the gui.hwnd
 
02/20/16  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

48.641 Views

Untitledvor 0 min.
iF06/04/18
Vgdd06/10/17
Wilfried Friebe05/16/17
Pebender12/04/16
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie