Search Results

Search: Posts Made By: Rocky888
2,837
Posted By RudiC
Please, don't post screen shots/pictures, as they...
Please, don't post screen shots/pictures, as they can't be used for further analysis. Post code or result lines within code tags.

for (( i=W_NO; i>=W_NO; i--)) will execute exactly zero times, as...
2,837
Posted By Aia
Run this and see if it does help you to...
Run this and see if it does help you to understand.

#!/bin/bash

height=4
width=8

for ((i=0; i<height; i++)); do
for((j=0; j<width; j++)); do
printf "*"
done
echo...
2,837
Posted By RudiC
So - this is exactly what is to be expected, and...
So - this is exactly what is to be expected, and what you said you need. What do you think is missing? Please post details: code, expected output, description of problems.
2,837
Posted By sea
Actualy its not, i had not set (init) the...
Actualy its not, i had not set (init) the variable "properly"...
C=1
Might help.

For the memory:


Or, are you confused because i named the TIMES_NO as C?
2,837
Posted By RudiC
Please use code tags as required by forum rules! ...
Please use code tags as required by forum rules!

man bash:
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy