VLS Roulette Forum

Roulette System Development & Testing => Roulette Coding Zone => Learning to code => Topic started by: antimodes on February 24, 2015, 06:42:16 PM

Title: Roulette Extreme code
Post by: antimodes on February 24, 2015, 06:42:16 PM
Hello everyone,

that's a great website, keep up the work! :)

I am trying to copy and paste a few row of RX code from other system and make by myself some more row.
What i want is take out 5 non-repeating numbers (including 0) and then bet the others 32. That's my code

//system "sample_paolo"

method "main"
begin
    while starting a new session
    begin
        clear record "Spin" layout
        clear record "Last 5 numbers" layout
        clear record "counter" data
        exit
    end

    copy last number to record "Spin" Layout

    if record "Spin" Layout is not found in record "Last 5 numbers" layout then
    begin
        Track last number for 5 times to record "Last 5 numbers" layout
    end
   
    if record "Last 5 numbers" layout count = 5 then
    begin
        while record "counter" data not = 37 then
        begin
            if record "Last 5 numbers" layout not = record "counter" layout then
            begin
                put 1 unit on record "counter" data
            end
            add 1 to record "counter" data
        end
    end
end //

Apparently is right but it does not work :\
Someone can help me to understand better ?
Sorry for my english, i am italian.
Thank you in advance.
Paolo