Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
scheme : error in vector
#1
Hello,

I need to write a script for GIMP and I'm stuck on an error I don't understand.

I haven't found a solution to this problem.

Here's an example of a script that returns an error in a console schema:


Code:
(define
myvector (vector 'a 'b 'c 'd 'e)
)
(vector-set! myvector 2 'x)
Error: vector-set!: index must be exact: 2


Where is my error?

Thank you for your help.
Reply


Messages In This Thread
scheme : error in vector - by geka - 5 hours ago

Forum Jump: