![]() |
Page 1: Displaying Data in a Grid - Printable Version +- Curl Global Community (https://communities.curl.com) +-- Forum: Tutorials (https://communities.curl.com/forumdisplay.php?fid=3) +--- Forum: Public Training (https://communities.curl.com/forumdisplay.php?fid=4) +---- Forum: Curl IDE Made Easy (https://communities.curl.com/forumdisplay.php?fid=6) +----- Forum: Try 3: Displaying Data in a Grid (https://communities.curl.com/forumdisplay.php?fid=11) +----- Thread: Page 1: Displaying Data in a Grid (/showthread.php?tid=55) |
Page 1: Displaying Data in a Grid - ashimo - 06-16-2011 ![]() In this chapter, we’ll take the scores from the Try 2 game, and arrange them into a table. We’ll manage data on names, scores, and ages Please download the Try3.zip file by selecting the following link: Try3.zip. Unzip the contents to the C:\Curl directory. This is the working directory for all the examples and exercises contained within this tutorial. Note: If C:\Curl has not already been created, you can create it now. ![]() ![]() ![]() Close the Try 2 project and then, from the IDE 'File' menu, select 'New Project'. In the 'New Project' dialog box, select “Applet Project” (1), input “Try3-1” (2), specify c:\Curl\lesson\Try3\01_grid in the “Directory” field (3), set the API Version to 6.0 (4), and then click OK (5). ![]() ![]() Next, we’ll input the program. You can copy the program code below or use c:\Curl\Try3\01_grid\start.curl and then paste it into the editor in the IDE. Code: {value ![]() After inputting the code, save the file, and then execute the program. The following result will appear in your browser. ![]() RE: Page 1: Displaying Data in a Grid - RobertShiplett - 08-24-2011 (06-16-2011, 04:11 PM)ashimo Wrote: Please note that name, age, score must be quoted strings in the code example, as must the strings Matt, Sarah, Jacob. I will see if the example can be corrected with escaped quotes in that post. RE: Page 1: Displaying Data in a Grid - ashimo - 08-25-2011 I have posted again source code with quotation. Thank you for pointing out a mistake. |