Skip to content
Snippets Groups Projects
Commit aee8da5e authored by rswindell's avatar rswindell
Browse files

Updated for new User class.

parent 0cd79a1f
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,12 @@
load("nodedefs.js");
var user = new User(1);
for(n=0;n<system.node_list.length;n++) {
printf("Node %2d ",n+1);
if(system.node_list[n].status==NODE_INUSE) {
printf("%s ",system.node_list[n].useron_name);
user.number=system.node_list[n].useron;
printf("%s (%u %s) ", user.alias, user.age, user.gender);
printf(NodeAction[system.node_list[n].action],system.node_list[n].aux);
} else
printf(NodeStatus[system.node_list[n].status],system.node_list[n].aux);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment