Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 430 Was thanked: 42 time(s) in 39 post(s)
|
What is it with vector? Patience.sm (38kb) downloaded 3 time(s).Edited by user 28 July 2024 05:07:32(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 430 Was thanked: 42 time(s) in 39 post(s)
|
Sorry! It is one strange bug, I think. Without the program - all ok! Patience.sm (38kb) downloaded 6 time(s).Edited by user 28 July 2024 05:08:04(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 11/01/2018(UTC) Posts: 153 Location: Wisconsin Was thanked: 73 time(s) in 46 post(s)
|
Greetings,
I wasn't able to reproduce the error, but it appears as if the Random() function is somehow redefining your variable every time you call "Тасованная_колода" to display.
May this be of Good Help; ⚜ Kenny Lemens, P.E. ᵂᴵ |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,508 Was thanked: 974 time(s) in 609 post(s)
|
Hi. It's not a bug, but a feature. Use eval to pin up the function value. Best regards. Alvaro.
|
1 user thanked Razonar for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.