Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Grid problems  (Read 2428 times)

0 Members and 1 Guest are viewing this topic.

shiverbob

    Topic Starter


    Beginner

    Thanked: 1
    • Yes
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows XP
Grid problems
« on: September 28, 2014, 05:40:13 PM »
After finishing my goal for the Adventure game for the month, I decided to start mucking around at what I could do, and my friend asked me to make a grid......
Problem #1 Would I use a x, y gird  and then how would I apply it
Problem #2 I am using an xp with does not have choice
That's all I got.....for now any way
Thanks

I am on my computer testing this right now.....just in case
Pff computers are easy, math is hard.

Lemonilla



    Apprentice

  • "Too sweet"
  • Thanked: 70
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 7
Re: Grid problems
« Reply #1 on: September 28, 2014, 08:47:33 PM »
I stole this from Snake.bat, but check this out:
Code: (control.bat) [Select]
setlocal enableDelayedExpansion
for /f %%a in ('copy /Z "%~dpf0" nul') do set "CR=%%a"
set "key="
for /l %%. in () do (
set "key="
for /f "delims=" %%A in ('xcopy /w %~f0 %~f0 2^>nul') do if not defined key set "key=%%A"
set key=!key:~-1!
echo !key!>cmd.txt
if exist contr exit
)

The letter will appear in cmd.txt.  To use this though, you need to have 'start /b cmd /c control.bat'  to have it run in the background while still maintaining control.
Quote from: patio
God Bless the DOS Helpers...
Quote
If it compiles, send the files.