diff options
Diffstat (limited to '1088/CH1/EX1.6/Example6.sce')
-rwxr-xr-x | 1088/CH1/EX1.6/Example6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1088/CH1/EX1.6/Example6.sce b/1088/CH1/EX1.6/Example6.sce new file mode 100755 index 000000000..1650a8b5d --- /dev/null +++ b/1088/CH1/EX1.6/Example6.sce @@ -0,0 +1,19 @@ +clear
+mode(-1)
+clc
+
+disp("Example 6 : Display all the files in the current directory and files beginning with ->Ex<-")
+printf("\n*******************************************************************\n")
+disp('Answer : ')
+halt('Press [Enter] to continue')
+disp('Files in the current directory ')
+mode(0)
+ls
+mode(-1)
+halt('Press Enter to see files beginning with ->Ex<-')
+printf("\n-------------------------------------------------------------------------------------------------\n")
+disp('Files Beginning with ->Ex<-')
+mode(0)
+ls Ex*
+mode(-1)
+printf("\n*******************************************************************\n")
|