Hack Forums
[.NET] Boolean - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Boolean (/showthread.php?tid=6112838)



Boolean - Mank - Sep 30, 2020

If anyone knows visual basic and could help me with a boolean statement could you please pm me


RE: Boolean - Charger - Sep 30, 2020

Dim value As Boolean = True
If (value) Then
Console.WriteLine("It is true”)
End If


RE: Boolean - Klonopin - Oct 1, 2020

(Sep 30, 2020 04:17 PM)Charger Wrote:  Dim value As Boolean = True
If (value) Then
            Console.WriteLine("It is true”)
        End If

haven't used vb in a min
but I don't think you need to bracket the value ( probably doesn't matter )

Code
if value = true then
console.Writeline("true")
else if value = false
console.Writeline("false")
End if



RE: Boolean - Mank - Oct 4, 2020

I’m just retarded I needed to use String instead of boolean I got my languages mixed up