Author Topic: VAT  (Read 2348 times)

0 Members and 1 Guest are viewing this topic.

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
VAT
« on: March 02, 2013, 06:29:26 am »
Hi i have some probleme with memkit by Quigibo... i explain.

for read archive/or not programme i use this routine and.... don't work as i want... why ?

Code: [Select]
:.A
:#Axiom(MEMKIT)
:load()
:fix 5
:while 1
:if getkey(9)
:clrdrawn
:print(L1)
:text(0,,L1)
:getcalc(L1,Y1)
:for(X,1,8)
:text(0,x*7,{X+Y1}>char
:End
:dispgraph
:next()
:End
:EndIf getkey(15)

this routine return :

-name
-0
-0
-0
-0
-0
-0
-0

why ?
« Last Edit: March 02, 2013, 06:29:56 am by nikitouzz »
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: VAT
« Reply #1 on: March 02, 2013, 11:33:45 am »
Print() doesn't copy the type byte for the variable, because that's not really part of the name. Try changing Print(L1) to Print(L1+1) and put dim()→{L1}r before it.

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: VAT
« Reply #2 on: March 02, 2013, 11:37:20 am »
your code work perfectly :) your are awesome  :thumbsup:
« Last Edit: March 02, 2013, 12:06:10 pm by nikitouzz »
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes