void Function_2_viewSource_withParameter (int y2) {
- if (mouseX >=645 && mouseX<=800 && mouseY >=y2+10 && mouseY <=y2+40) {
- rect (610, y2, 250, 180, 20);
- text ("fill (255, 0, 0);", 625, y2+30);
- text ("ellipse (480, 260, 100, 100);", 625, y2+50);
- text ("if (mouseX>=405&&mouseX", 625, y2+70);
- text ("<=550&&mouseY>=185", 625, y2+90);
- text ("&&mouseY<=280){", 625, y2+110);
- text ("fill (0, 0, 255);", 625, y2+130);
- text (" ellipse (480, 260, 150, 150);}", 625, y2+150);
+if (mouseX >=645 && mouseX<=800 && mouseY >=y2+10 && mouseY <=y2+40) {
+rect (610, y2, 250, 180, 20);
+text ("fill (255, 0, 0);", 625, y2+30);
+text ("ellipse (480, 260, 100, 100);", 625, y2+50);
+text ("if (mouseX>=405&&mouseX", 625, y2+70);
+text ("<=550&&mouseY>=185", 625, y2+90);
+text ("&&mouseY<=280){", 625, y2+110);
+text ("fill (0, 0, 255);", 625, y2+130);
+text (" ellipse (480, 260, 150, 150);}", 625, y2+150);
void Function_3_viewSource_withOutParameter (int y3) {
- if (mouseX >=645 && mouseX<=800 && mouseY >=y3+210 && mouseY <=y3+240) {
- rect (610, y3+200, 250, 150, 20);
- text ("void draw_frence (){", 625, y3+220);
- text ("for(int x=0;x<75;x=x+15){", 625, y3+240);
- text ("stroke(0);", 625, y3+260);
- text ("line(450+x,200,450+x,300);", 625, y3+280);
- text ("}", 625, y3+300);
+if (mouseX >=645 && mouseX<=800 && mouseY >=y3+210 && mouseY <=y3+240) {
+rect (610, y3+200, 250, 150, 20);
+text ("void draw_frence (){", 625, y3+220);
+text ("for(int x=0;x<75;x=x+15){", 625, y3+240);
+text ("stroke(0);", 625, y3+260);
+text ("line(450+x,200,450+x,300);", 625, y3+280);
+text ("}", 625, y3+300);
void Function_3_viewSource_withParameter (int y3) {
- if (mouseX >=645 && mouseX<=800 && mouseY >=y3+10 && mouseY <=y3+40) {
- rect (610, y3, 250, 180, 20);
- text ("void draw_horizontal", 625, y3+30);
- text ("(int a,int b){;", 625, y3+50);
- text ("line (b-50, a, b+50, a);", 625, y3+70);
- text ("line (b-50,a+20,b+50,a+20);", 625, y3+90);
- text ("line (b-50,a+40,b+50,a+40);", 625, y3+110);
- text ("}", 625, y3+130);
+if (mouseX >=645 && mouseX<=800 && mouseY >=y3+10 && mouseY <=y3+40) {
+rect (610, y3, 250, 180, 20);
+text ("void draw_horizontal", 625, y3+30);
+text ("(int a,int b){;", 625, y3+50);
+text ("line (b-50, a, b+50, a);", 625, y3+70);
+text ("line (b-50,a+20,b+50,a+20);", 625, y3+90);
+text ("line (b-50,a+40,b+50,a+40);", 625, y3+110);
+text ("}", 625, y3+130);
void Function_2_withOutParameter (int y2) {
- if (mouseX >=130 && mouseX<=280 && mouseY >=y2+200 && mouseY <=y2+270) {
- rect (80, y2+200, 300, 150, 10);
- text ("The system function", 120, y2+230);
- text ("that do not want a parameter,", 100, y2+250);
- text ("It's not supported,", 100, y2+270);
- text ("and the outcome was the same run.", 100, y2+290);
+if (mouseX >=130 && mouseX<=280 && mouseY >=y2+200 && mouseY <=y2+270) {
+rect (80, y2+200, 300, 150, 10);
+text ("The system function", 120, y2+230);
+text ("that do not want a parameter,", 100, y2+250);
+text ("It's not supported,", 100, y2+270);
+text ("and the outcome was the same run.", 100, y2+290);
void Function_2_withParameter (int y2) {
- if (mouseX >=130 && mouseX<=280 && mouseY >=y2+30 && mouseY <=y2+70) {
- rect (80, y2, 300, 150, 10);
- text ("The system functions", 120, y2+30);
- text ("that require a parameter", 100, y2+50);
- text ("To keep up to run", 100, y2+70);
- text ("And each run when", 100, y2+90);
- text ("the Output parameter changes", 100, y2+110);
- text ("that have been changed accordingly.", 100, y2+130);
+if (mouseX >=130 && mouseX<=280 && mouseY >=y2+30 && mouseY <=y2+70) {
+rect (80, y2, 300, 150, 10);
+text ("The system functions", 120, y2+30);
+text ("that require a parameter", 100, y2+50);
+text ("To keep up to run", 100, y2+70);
+text ("And each run when", 100, y2+90);
+text ("the Output parameter changes", 100, y2+110);
+text ("that have been changed accordingly.", 100, y2+130);
void Function_3_withOutParameter (int y3) {
- if (mouseX >=130 && mouseX<=280 && mouseY >=y3+200 && mouseY <=y3+270) {
- rect (80, y3+200, 300, 150, 10);
- text ("The function", 120, y3+230);
- text ("that you doesn't declare", 100, y3+250);
- text ("the parameter you maybe want", 100, y3+270);
- text ("the outcome have the same run.", 100, y3+290);
+if (mouseX >=130 && mouseX<=280 && mouseY >=y3+200 && mouseY <=y3+270) {
+rect (80, y3+200, 300, 150, 10);
+text ("The function", 120, y3+230);
+text ("that you doesn't declare", 100, y3+250);
+text ("the parameter you maybe want", 100, y3+270);
+text ("the outcome have the same run.", 100, y3+290);
ไม่มีความคิดเห็น:
แสดงความคิดเห็น