Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Gregory Diebold
49 discussion posts
I am attempting to create a C# string array to use as options for the .GetUserInputList, but am getting compile errors in the DF editor. Can a single-dimensional array be used like this with .GetUserInputList? If so, can a specific array element be referenced in the Switch?

Hope this is just a syntax error.
• Attachment: 2023-12-10_13-43-04.png [31,684 bytes]
2023-12-10_13-43-04.png
2023-12-10_13-43-04.png
Dec 10, 2023  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Looks like you've got square brackets there instead of curly brackets. Should be like this:

Code

string[] items = { "Item1", "Item2", "Item3", "Item4" };
Dec 11, 2023 (modified Dec 11, 2023)  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)