I received an email a couple days ago from a UScript developer who was interested in applying something that seems to be pretty useful in UScript to provide a similar interface in PHP5. States. UScript pt States provide a developer with a means of encapsulating code, much the same way many of us have been doing for a long time with switches, and define methods and change their desired functionality.
This may not be the best example for switches and their functionality, I don’t even suggest you necessarily use this, but it shows one thing. Changing functionality, based on variables. I am looking into a solution that is not only useful, but is at least readable.
I received an email a couple days ago and I have been trying to figure out how to approach it, until now.
I am new to coding, obviously, and I love your tutorials on hl2, but I have this distinct feeling that I’m missing something. I coded in VB for a while and it was a lot of fun to see what I was able to do with a few nouns and verbs, talk about words in action, but there was something that has always blown my mind, and I figured I would bounce it off of you. So here goes bro.
When I was in class a couple nights ago we went over random access files, which are neat in their own right, but since I ran into that I have been trying to figure out a file type to use for my own application. The values are going to have to be user editable/readable, but what are some of the options for it?
Thanks a bunch and keep up the good work!
Continue reading “Viewer Mail #2”
I am turning a lab in tonight that handles two very shady topics that have been only lightly touched upon in my previous classes: Bit manipulation and inline functions. Each deserves its own article because they are both complicated in their own right.
Bit manipulation is the process of manipulating bits. For those of you who are not IT inclined as of yet, a bit is a switch and every data type is made up of them. There are only bits in your computer, no such thing as an int, or char pointer, everything is a bit. The emphasis here is that everything is a bit and I cannot stress that more.
Continue reading “Inline Functions”